- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getTotalHits (0.11 sec)
-
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) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/util/OpenSearchResultList.java
private long totalHits; private long tookInMillis; public void setTotalHits(final long totalHits) { this.totalHits = totalHits; } public long getTotalHits() { return totalHits; } public void setTookInMillis(final long tookInMillis) { this.tookInMillis = tookInMillis; } public long getTookInMillis() {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 1.2K bytes - Viewed (0) -
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) -
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)