- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for setTrackTotalHits (0.11 sec)
-
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
final FessConfig fessConfig) { final SearchResponse countResponse = searchEngineClient.prepareSearch(fessConfig.getIndexDocumentUpdateIndex()) .setQuery(queryBuilder).setSize(0).setTrackTotalHits(true).execute().actionGet(fessConfig.getIndexSearchTimeout()); final TotalHits totalHits = countResponse.getHits().getTotalHits(); if (totalHits != null) { return totalHits.value; }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java
if (StringUtil.isNotBlank(trackTotalHits)) { if (Constants.TRUE.equalsIgnoreCase(trackTotalHits) || Constants.FALSE.equalsIgnoreCase(trackTotalHits)) { searchRequestBuilder.setTrackTotalHits(Boolean.parseBoolean(trackTotalHits)); return; } try { searchRequestBuilder.setTrackTotalHitsUpTo(Integer.parseInt(trackTotalHits));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Oct 20 02:08:03 UTC 2024 - 86.1K bytes - Viewed (0)