Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for getDocumentSize (0.17 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

                @Override
                public void store(DataStoreParams paramMap, Map<String, Object> dataMap) {
                }
    
                @Override
                public long getDocumentSize() {
                    return 0;
                }
    
                @Override
                public long getExecuteTime() {
                    return 0;
                }
    
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (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());
        }
    
        @Test
        public void test_multiple_datastore_instances() {
            // Test multiple DataStore instances working independently
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  4. 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();
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. 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
         */
    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)
  6. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                logger.debug("Deleted {} documents from URL list", deleteUrlList.size());
            }
            deleteUrlList.clear();
        }
    
        @Override
        public long getDocumentSize() {
            return indexUpdateCallback.getDocumentSize();
        }
    
        @Override
        public long getExecuteTime() {
            return indexUpdateCallback.getExecuteTime();
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
  7. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  8. 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");
    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)
  9. 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
         */
    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)
  10. 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);
            }
    
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19K bytes
    - Click Count (0)
Back to Top