- Sort Score
- Result 10 results
- Languages All
Results 11 - 18 of 18 for getTotalHits (0.08 sec)
-
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
}); final OpenSearchResultList<OpenSearchAccessResult> targetList = new OpenSearchResultList<>(); final SearchHits hits = response.getHits(); final TotalHits totalHits = hits.getTotalHits(); final long totalHitsValue = totalHits != null ? totalHits.value : 0; targetList.setTotalHits(totalHitsValue); targetList.setTookInMillis(response.getTook().getMillis());
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 8.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
items.add(SuggestItem.parseSource(source)); } } return new PopularWordsResponse(index, searchResponse.getTook().getMillis(), words, searchResponse.getHits().getTotalHits().value, items); }
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/suggest/index/contents/document/ESSourceReader.java
.setTrackTotalHits(true).execute().actionGet(settings.getSearchTimeout()); return response.getHits().getTotalHits().value; }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
} } firstWords.addAll(secondWords); firstItems.addAll(secondItems); return new SuggestResponse(index, searchResponse.getTook().getMillis(), firstWords, searchResponse.getHits().getTotalHits().value, firstItems); } protected boolean isFirstWordMatching(final boolean singleWordQuery, final boolean hiraganaQuery, final String text) {
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/service/impl/AbstractCrawlerService.java
final SearchRequestBuilder builder = c.prepareSearch(index).setSize(0).setTrackTotalHits(true); callback.accept(builder); return builder.execute(); }).getHits().getTotalHits(); return totalHits != null ? (int) totalHits.value : 0; } protected <T> T get(final Class<T> clazz, final String sessionId, final String url) { final String id = getId(sessionId, url);
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/settings/ArraySettings.java
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/Suggester.java
.setTrackTotalHits(true).execute().actionGet(suggestSettings.getSearchTimeout()); return searchResponse.getHits().getTotalHits().value; } private String getSearchAlias(final String index) { return index; } private String getUpdateAlias(final String index) { return index + ".update"; }
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/helper/IndexingHelper.java
.setQuery(queryBuilder).setSize(0).setTrackTotalHits(true).execute().actionGet(fessConfig.getIndexSearchTimeout()); final TotalHits totalHits = countResponse.getHits().getTotalHits(); if (totalHits != null) { return totalHits.value; } return 0; } public long deleteBySessionId(final String sessionId) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.8K bytes - Viewed (0)