- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for SearchResponse (0.09 sec)
-
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
searchResponseOpt.ifPresent(searchResponse -> { final SearchHits searchHits = searchResponse.getHits(); builder.allRecordCount(searchHits.getTotalHits().value); builder.allRecordCountRelation(searchHits.getTotalHits().relation.toString()); builder.queryTime(searchResponse.getTook().millis()); if (searchResponse.getTotalShards() != searchResponse.getSuccessfulShards()) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Mon Jul 22 06:56:21 UTC 2024 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
} builder.execute(new ActionListener<SearchResponse>() { @Override public void onResponse(final SearchResponse searchResponse) { if (searchResponse.getFailedShards() > 0) { deferred.reject(new SuggesterException("Search failure. Failed shards num:" + searchResponse.getFailedShards())); } else {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 13.3K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
return client.prepareMultiGet(); } @Override public ActionFuture<SearchResponse> search(final SearchRequest request) { return client.search(request); } @Override public void search(final SearchRequest request, final ActionListener<SearchResponse> listener) { client.search(request, listener); } @Override
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 19.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/Suggester.java
} private long getNum(final QueryBuilder queryBuilder) { final SearchResponse searchResponse = client.prepareSearch().setIndices(getSearchAlias(index)).setSize(0).setQuery(queryBuilder) .setTrackTotalHits(true).execute().actionGet(suggestSettings.getSearchTimeout()); return searchResponse.getHits().getTotalHits().value; } private String getSearchAlias(final String index) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 14.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java
import org.opensearch.action.index.IndexRequestBuilder; import org.opensearch.action.index.IndexResponse; import org.opensearch.action.search.SearchRequestBuilder; import org.opensearch.action.search.SearchResponse; import org.opensearch.action.update.UpdateRequestBuilder; import org.opensearch.client.Client; import org.opensearch.core.action.ActionListener; import org.opensearch.index.seqno.SequenceNumbers;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 26.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java
import org.opensearch.action.index.IndexRequestBuilder; import org.opensearch.action.index.IndexResponse; import org.opensearch.action.search.SearchRequestBuilder; import org.opensearch.action.search.SearchResponse; import org.opensearch.action.update.UpdateRequestBuilder; import org.opensearch.client.Client; import org.opensearch.core.action.ActionListener; import org.opensearch.index.seqno.SequenceNumbers;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 26.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java
import org.opensearch.action.index.IndexRequestBuilder; import org.opensearch.action.index.IndexResponse; import org.opensearch.action.search.SearchRequestBuilder; import org.opensearch.action.search.SearchResponse; import org.opensearch.action.update.UpdateRequestBuilder; import org.opensearch.client.Client; import org.opensearch.core.action.ActionListener; import org.opensearch.index.seqno.SequenceNumbers;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 26.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java
queryRequestBuilder.setPreference(Constants.SEARCH_PREFERENCE_LOCAL); return true; }, (queryRequestBuilder, execTime, searchResponse) -> { final List<Map<String, String>> sessionIdList = new ArrayList<>(); searchResponse.ifPresent(response -> { final Terms terms = response.getAggregations().get(fessConfig.getIndexFieldSegment());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
import org.codelibs.fess.suggest.exception.SuggestSettingsException; import org.codelibs.fess.suggest.util.SuggestUtil; import org.opensearch.action.admin.indices.create.CreateIndexResponse; import org.opensearch.action.search.SearchResponse; import org.opensearch.client.Client; import org.opensearch.common.xcontent.XContentFactory; import org.opensearch.common.xcontent.XContentType; import org.opensearch.common.xcontent.json.JsonXContent;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
import org.codelibs.fess.suggest.settings.SuggestSettings; import org.codelibs.fess.suggest.util.SuggestUtil; import org.opensearch.OpenSearchStatusException; import org.opensearch.action.search.SearchResponse; import org.opensearch.client.Client; import org.opensearch.index.query.Operator; import org.opensearch.index.query.QueryBuilder; import org.opensearch.index.query.QueryBuilders; import org.opensearch.search.SearchHit;
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0)