- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for calculateDocumentSize (0.09 sec)
-
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
public void sendDocuments(SearchEngineClient searchEngineClient, DocList docList) { sendDocumentsCalled++; docList.clear(); } @Override public long calculateDocumentSize(Map<String, Object> dataMap) { return documentSize; } } private static class TestCrawlingInfoHelper extends CrawlingInfoHelper { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
} public void test_calculateDocumentSize() { assertEquals(0, indexingHelper.calculateDocumentSize(Collections.emptyMap())); assertEquals(118, indexingHelper.calculateDocumentSize(Map.of("id", "test"))); assertEquals(249, indexingHelper.calculateDocumentSize(Map.of("id", "test", "url", "http://test.com/"))); } public void test_setMaxRetryCount() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 29.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java
ComponentUtil.getLanguageHelper().updateDocument(dataMap); synchronized (docList) { docList.add(ingest(paramMap, dataMap)); final long contentSize = indexingHelper.calculateDocumentSize(dataMap); docList.addContentSize(contentSize); final long processingTime = systemHelper.getCurrentTimeAsLong() - startTime; docList.addProcessingTime(processingTime);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 26.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
@Override public void sendDocuments(SearchEngineClient client, DocList docList) { docList.clear(); } @Override public long calculateDocumentSize(Map<String, Object> map) { return 100L; } } private static class TestIntervalControlHelper extends IntervalControlHelper { private boolean crawlerRunning = true;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
updateDocument(map); docList.add(ingest(accessResult, map)); final long contentSize = indexingHelper.calculateDocumentSize(map); docList.addContentSize(contentSize); final long processingTime = systemHelper.getCurrentTimeAsLong() - startTime; docList.addProcessingTime(processingTime);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 32.7K bytes - Viewed (0)