- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for getHits (0.05 sec)
-
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
String scrollId = response.getScrollId(); try { while (scrollId != null) { final SearchHits searchHits = response.getHits(); if (searchHits.getHits().length == 0) { break; } for (final SearchHit searchHit : searchHits) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 8.5K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java
.execute().actionGet().getHits().getTotalHits().value > 0); urlQueueService.delete("sessionId"); assertFalse(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "sessionId")).setSize(0) .execute().actionGet().getHits().getTotalHits().value > 0); } public void test_insert_update_delete_multiTx() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
final SearchResultBuilder builder = SearchResult.create(); searchResponseOpt.ifPresent(searchResponse -> { final SearchHits searchHits = searchResponse.getHits(); builder.allRecordCount(searchHits.getTotalHits().value); builder.allRecordCountRelation(searchHits.getTotalHits().relation.toString()); builder.queryTime(searchResponse.getTook().millis());
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
return functionScoreQueryBuilder; } protected SuggestResponse createResponse(final SearchResponse searchResponse) { final SearchHit[] hits = searchResponse.getHits().getHits(); final List<String> words = new ArrayList<>(); final List<String> firstWords = new ArrayList<>(); final List<String> secondWords = new ArrayList<>();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
String scrollId = response.getScrollId(); final Map<String, Object>[] array = new Map[(int) response.getHits().getTotalHits().value]; int count = 0; try { while (scrollId != null) { final SearchHit[] hits = response.getHits().getHits(); if (hits.length == 0) { break; }
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
String scrollId = response.getScrollId(); try { while (scrollId != null) { final SearchHit[] hits = response.getHits().getHits(); if (hits.length == 0) { break; } for (final SearchHit hit : hits) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
SuggestUtil.deleteScrollContext(client, scrollId); } } scrollId = response.getScrollId(); final SearchHit[] hits = response.getHits().getHits(); if (scrollId == null || hits.length == 0) { SuggestUtil.deleteScrollContext(client, scrollId); isFinished.set(true); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7.5K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
}); String scrollId = response.getScrollId(); try { while (scrollId != null) { final SearchHits searchHits = response.getHits(); if (searchHits.getHits().length == 0) { break; } final BulkResponse bulkResponse = getClient().get(c -> {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 23.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
.setRescoreQueryWeight(1); } protected PopularWordsResponse createResponse(final SearchResponse searchResponse) { final SearchHit[] hits = searchResponse.getHits().getHits(); final List<String> words = new ArrayList<>(); final List<SuggestItem> items = new ArrayList<>(); final String index; if (hits.length > 0) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/score/ScoreBooster.java
.setFetchSource(false).setSize(fessConfig.getPageScoreBoosterMaxFetchSizeAsInteger()).execute().actionGet(requestTimeout); return Arrays.stream(response.getHits().getHits()).map(SearchHit::getId).toArray(n -> new String[n]); }; protected Function<Map<String, Object>, Long> requestHandler = params -> { final FessConfig fessConfig = ComponentUtil.getFessConfig();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5K bytes - Viewed (0)