- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getLimitDocNum (0.11 sec)
-
src/test/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReaderTest.java
} @Test public void test_getLimitDocNum() throws Exception { assertEquals(10, ESSourceReader.getLimitDocNum(100, 10, -1)); assertEquals(25, ESSourceReader.getLimitDocNum(50, 50, -1)); assertEquals(10, ESSourceReader.getLimitDocNum(50, 50, 10)); } @Test public void test_sort() throws Exception { String indexName = "test-index";
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
} } public void setLimitNumber(final long limitNumber) { this.limitNumber = limitNumber; } protected void addDocumentToQueue() { if (docCount.get() > getLimitDocNum(totalDocNum, limitPercentage, limitNumber)) { isFinished.set(true); return; } RuntimeException exception = null; for (int i = 0; i < maxRetryCount; i++) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7.5K bytes - Viewed (0)