Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for indexUpdateCallback (0.13 sec)

  1. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallback.java

     * This interface provides methods for storing documents, tracking processing metrics,
     * and committing changes to the search index.
     */
    public interface IndexUpdateCallback {
    
        /**
         * Stores a document in the search index with the specified parameters and data.
         *
         * @param paramMap the data store parameters containing configuration and metadata
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java

            indexUpdateCallback.store(paramMap, dataMap);
            assertEquals(100L, indexUpdateCallback.getExecuteTime());
    
            dataMap.put("url", "http://example.com/test2");
            indexUpdateCallback.store(paramMap, dataMap);
            assertEquals(200L, indexUpdateCallback.getExecuteTime());
        }
    
        public void test_store_withClickCountDisabled() {
            // Create new config with click/favorite count disabled
    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

            final AtomicReference<IndexUpdateCallback> capturedCallback = new AtomicReference<>();
            final AtomicReference<DataStoreParams> capturedParams = new AtomicReference<>();
    
            dataStore = new DataStore() {
                @Override
                public void store(DataConfig config, IndexUpdateCallback callback, DataStoreParams initParamMap) {
                    storeCalled.set(true);
    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/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

            boolean result1 = indexUpdateCallback.isUrlCrawlable(paramMap, "http://example.com/admin/config.html");
            boolean result2 = indexUpdateCallback.isUrlCrawlable(paramMap, "http://example.com/private/data.html");
            boolean result3 = indexUpdateCallback.isUrlCrawlable(paramMap, "http://example.com/temp/cache.html");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 23:31:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackTest.java

    public class IndexUpdateCallbackTest extends UnitFessTestCase {
    
        public void test_interface_methods() {
            // Test with anonymous implementation
            IndexUpdateCallback callback = new IndexUpdateCallback() {
                private final AtomicLong docSize = new AtomicLong(0);
                private final AtomicLong execTime = new AtomicLong(0);
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

            final SystemHelper systemHelper = ComponentUtil.getSystemHelper();
            final long startTime = systemHelper.getCurrentTimeAsLong();
    
            final IndexUpdateCallback indexUpdateCallback = ComponentUtil.getComponent(IndexUpdateCallback.class);
    
            final List<String> sessionIdList = new ArrayList<>();
            dataCrawlingThreadList.clear();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

         *
         * @param indexUpdateCallback the underlying index update callback to delegate to
         * @param crawlerClientFactory the factory for creating crawler clients
         * @param nThreads the number of threads for the executor service (minimum 1)
         */
        public FileListIndexUpdateCallbackImpl(final IndexUpdateCallback indexUpdateCallback, final CrawlerClientFactory crawlerClientFactory,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

    import java.io.FileOutputStream;
    import java.nio.file.Files;
    import java.util.List;
    import java.util.Map;
    import java.util.jar.JarEntry;
    import java.util.jar.JarOutputStream;
    
    import org.codelibs.fess.ds.callback.IndexUpdateCallback;
    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.helper.PluginHelper;
    import org.codelibs.fess.helper.SystemHelper;
    import org.codelibs.fess.opensearch.config.exentity.DataConfig;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/DataStore.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.ds;
    
    import org.codelibs.fess.ds.callback.IndexUpdateCallback;
    import org.codelibs.fess.entity.DataStoreParams;
    import org.codelibs.fess.opensearch.config.exentity.DataConfig;
    
    /**
     * The interface for DataStore.
     */
    public interface DataStore {
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  10. src/main/resources/fess_ds.xml

    <!DOCTYPE components PUBLIC "-//DBFLUTE//DTD LastaDi 1.0//EN"
    	"http://dbflute.org/meta/lastadi10.dtd">
    <components>
    	<component name="dataStoreFactory" class="org.codelibs.fess.ds.DataStoreFactory">
    	</component>
    	<component name="indexUpdateCallback" class="org.codelibs.fess.ds.callback.IndexUpdateCallbackImpl" instance="prototype">
    	</component>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu May 31 09:46:09 UTC 2018
    - 404 bytes
    - Viewed (0)
Back to top