- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getDocumentSize (0.08 sec)
-
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java
assertEquals(0L, callback.getDocumentSize()); assertEquals(0L, callback.getExecuteTime()); // Test store method DataStoreParams params = new DataStoreParams(); Map<String, Object> data = new HashMap<>(); data.put("key1", "value1"); callback.store(params, data); assertEquals(1L, callback.getDocumentSize()); assertEquals(100L, callback.getExecuteTime());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
assertEquals(0, indexUpdateCallback.getDocumentSize()); DataStoreParams paramMap = new DataStoreParams(); Map<String, Object> dataMap = new HashMap<>(); dataMap.put("url", "http://example.com/test"); indexUpdateCallback.store(paramMap, dataMap); assertEquals(1, indexUpdateCallback.getDocumentSize()); dataMap.put("url", "http://example.com/test2");
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/ds/DataStoreTest.java
// Execute store dataStore.store(config, callback, params); // Verify callback was used correctly assertEquals(2, callback.getDocumentSize()); assertTrue(callback.isCommitted()); } public void test_multiple_datastore_instances() { // Test multiple DataStore instances working independently
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallback.java
void store(DataStoreParams paramMap, Map<String, Object> dataMap); /** * Returns the total number of documents processed by this callback. * * @return the document count */ long getDocumentSize(); /** * Returns the total execution time for index update operations. * * @return the execution time in milliseconds */ long getExecuteTime(); /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
@Override public long getExecuteTime() { return 100L; } @Override public long getDocumentSize() { return 10L; } @Override public void commit() { /* No-op */ } @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java
} } /** * Returns the total number of documents processed. * * @return the number of documents processed */ @Override public long getDocumentSize() { return documentSize.get(); } /** * Returns the total execution time for all operations. * * @return the total execution time in milliseconds */
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/ds/callback/FileListIndexUpdateCallbackImpl.java
if (logger.isDebugEnabled()) { logger.debug("Deleted {}", deleteUrlList); } deleteUrlList.clear(); } @Override public long getDocumentSize() { return indexUpdateCallback.getDocumentSize(); } @Override public long getExecuteTime() { return indexUpdateCallback.getExecuteTime(); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 28.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java
crawlingInfoHelper.putToInfoMap(Constants.WEB_FS_INDEX_EXEC_TIME, Long.toString(indexUpdater.getExecuteTime())); crawlingInfoHelper.putToInfoMap(Constants.WEB_FS_INDEX_SIZE, Long.toString(indexUpdater.getDocumentSize())); if (systemHelper.isForceStop()) { return; } for (final String sid : sessionIdList) { // remove config
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
crawlingInfoHelper.putToInfoMap(Constants.DATA_INDEX_EXEC_TIME, Long.toString(indexUpdateCallback.getExecuteTime())); crawlingInfoHelper.putToInfoMap(Constants.DATA_INDEX_SIZE, Long.toString(indexUpdateCallback.getDocumentSize())); for (final String sid : sessionIdList) { // remove config ComponentUtil.getCrawlingConfigHelper().remove(sid); } } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
// Test executeTime assertEquals(0L, indexUpdater.getExecuteTime()); // Test documentSize assertEquals(0L, indexUpdater.getDocumentSize()); } // Test setUncaughtExceptionHandler public void test_setUncaughtExceptionHandler() { final AtomicBoolean handlerCalled = new AtomicBoolean(false);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33K bytes - Viewed (0)