Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 10 for unregistration (0.06 seconds)

  1. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

        }
    
        /**
         * Safely registers a class with Kryo, logging any registration failures at WARN level.
         * <p>
         * This method catches exceptions for individual class registrations to ensure
         * that a failure to register one class doesn't prevent other classes from being registered.
         * Registration failures are logged at WARN level since they may cause serialization errors later.
         * </p>
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:54:09 GMT 2026
    - 10.5K bytes
    - Click Count (3)
  2. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorConcurrencyTest.java

     */
    public class RankFusionProcessorConcurrencyTest extends UnitFessTestCase {
    
        private static final String ID_FIELD = "_id";
    
        /**
         * Test concurrent registration of searchers from multiple threads.
         * Verifies that CopyOnWriteArrayList handles concurrent modifications safely.
         */
        @Test
        public void test_concurrentSearcherRegistration() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

        }
    
        // ========== Security Tests ==========
    
        /**
         * Security test: Verify that unregistered classes are rejected during serialization.
         * This test ensures that the Kryo registration requirement is working correctly.
         * Unregistered classes should throw an exception to prevent potential RCE attacks.
         */
        @Test
        public void test_security_unregisteredClassRejected() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsCreator.java

    import org.codelibs.fess.dict.DictionaryItem;
    
    import jakarta.annotation.PostConstruct;
    
    /**
     * Creator for protected words dictionary files.
     * This class manages the creation and registration of protected words dictionary files.
     */
    public class ProtwordsCreator extends DictionaryCreator {
        private static final Logger logger = LogManager.getLogger(ProtwordsCreator.class);
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

     * The factory also supports dynamic discovery of data store plugins by scanning
     * JAR files for data store configurations.</p>
     *
     * <p>Thread-safe operations are supported for registration and retrieval of data stores.
     * The factory caches data store names with a time-based refresh mechanism to improve
     * performance while ensuring up-to-date plugin discovery.</p>
     */
    public class DataStoreFactory {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            BoostQueryCommand newCommand = new BoostQueryCommand();
            newCommand.register();
    
            // Create a test BoostQuery to verify registration
            Term term = new Term("test", "register");
            TermQuery termQuery = new TermQuery(term);
            BoostQuery boostQuery = new BoostQuery(termQuery, 1.0f);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractEntity.java

            FunCustodial.checkSpecifiedProperty(this, propertyName, __specifiedProperties);
        }
    
        protected void registerSpecifiedProperty(String propertyName) { // basically called by modified property registration
            if (__specifiedProperties != null) { // normally false, true if e.g. setting after selected
                __specifiedProperties.addPropertyName(propertyName);
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            assertSame(dataStore, dataStoreFactory.getDataStore("MYSTORE"));
            assertSame(dataStore, dataStoreFactory.getDataStore("mYsToRe"));
        }
    
        // Test multiple data store registration
        @Test
        public void test_multipleDataStores() {
            TestDataStore dataStore1 = new TestDataStore("Store1");
            TestDataStore2 dataStore2 = new TestDataStore2("Store2");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/llm/LlmClientManager.java

            for (final LlmClient client : clientList) {
                if (llmType.equals(client.getName())) {
                    if (logger.isTraceEnabled()) {
                        logger.trace("[LLM] LlmClient found via registration. name={}", client.getName());
                    }
                    return client;
                }
            }
            logger.warn("[LLM] LlmClient not found. componentName={}", name);
            return null;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 11:10:51 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

    import com.fasterxml.jackson.databind.ObjectMapper;
    
    import jakarta.annotation.PostConstruct;
    import jakarta.annotation.PreDestroy;
    
    /**
     * Helper for inter-instance coordination via OpenSearch.
     * Provides heartbeat registration, distributed operation locking, and event notification
     * to prevent concurrent execution of maintenance operations across multiple Fess instances.
     */
    public class CoordinatorHelper {
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
Back to Top