- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for setScrollSize (0.07 sec)
-
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
int num = 10000; addDocument(indexName, client, num); ESSourceReader reader = new ESSourceReader(client, settings, indexName); reader.setScrollSize(1000); int count = 0; Set<String> valueSet = Collections.synchronizedSet(new HashSet<>()); Map<String, Object> source; while ((source = reader.read()) != null) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 8.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java
} return queue.poll(); } @Override public void close() { isFinished.set(true); queue.clear(); } public void setScrollSize(final int scrollSize) { this.scrollSize = scrollSize; } public void setLimitOfDocumentSize(final long limitOfDocumentSize) { if (logger.isInfoEnabled()) {
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/helper/SuggestHelper.java
final ESSourceReader reader = new ESSourceReader(ComponentUtil.getSearchEngineClient(), suggester.settings(), fessConfig.getIndexDocumentSearchIndex()); reader.setScrollSize(fessConfig.getSuggestSourceReaderScrollSizeAsInteger()); reader.setLimitDocNumPercentage(fessConfig.getSuggestUpdateContentsLimitNumPercentage());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
public void setScrollTimeout(final int scrollTimeout) { this.scrollTimeout = scrollTimeout; } public int getScrollSize() { return scrollSize; } public void setScrollSize(final int scrollSize) { this.scrollSize = scrollSize; } protected static class EsTimestampConverter implements Converter {
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/test/java/org/codelibs/fess/suggest/SuggesterTest.java
CountDownLatch latch = new CountDownLatch(1); AtomicInteger numObInputDoc = new AtomicInteger(0); ESSourceReader reader = new ESSourceReader(client, suggester.settings(), indexName); reader.setScrollSize(1000); suggester.indexer().indexFromDocument(() -> reader, 1000, 100).then(response -> { numObInputDoc.set(response.getNumberOfInputDocs()); latch.countDown(); }).error(t -> {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 37K bytes - Viewed (0)