Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getDocumentSize (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            this.finishCrawling = finishCrawling;
        }
    
        /**
         * Gets the total number of documents processed.
         *
         * @return the total document count
         */
        public long getDocumentSize() {
            return documentSize;
        }
    
        /**
         * Sets the uncaught exception handler for this IndexUpdater thread.
         *
         * @param eh the uncaught exception handler to set
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
Back to top