- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for calculateDocumentSize (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 24.7K bytes - Click Count (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;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 33.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 26.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
} @Test 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/"))); } @Test public void test_setMaxRetryCount() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 29.7K bytes - Click Count (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);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 10.5K bytes - Click Count (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);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 32.9K bytes - Click Count (0)