Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for related (0.03 sec)

  1. src/test/java/org/codelibs/fess/suggest/entity/SuggestItemTest.java

            assertTrue(Arrays.asList(result).contains(SuggestItem.Kind.DOCUMENT));
        }
    
        @Test
        public void testEmptySource() {
            // Test setEmptySource and related methods
            String[] text = { "test" };
            String[][] readings = { { "test" } };
            SuggestItem item = new SuggestItem(text, readings, null, 0L, 0L, 1.0f, null, null, null, SuggestItem.Kind.QUERY);
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/settings/SuggestSettings.java

    import org.opensearch.core.xcontent.XContentBuilder;
    import org.opensearch.index.IndexNotFoundException;
    import org.opensearch.transport.client.Client;
    
    /**
     * The SuggestSettings class is responsible for managing the settings related to suggestions.
     * It interacts with an OpenSearch client to store and retrieve settings.
     *
     * <p>This class provides methods to initialize settings, get and set individual settings,
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java

        public void setInitialBufferSize(final int initialBufferSize) {
            this.initialBufferSize = initialBufferSize;
        }
    
        /**
         * Sets whether duplicated terms are replaced.
         * @param replaceDuplication If true, duplicated terms are replaced.
         */
        public void setReplaceDuplication(final boolean replaceDuplication) {
            this.replaceDuplication = replaceDuplication;
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 30.7K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            return fesenClient;
        }
    
        /**
         * Creates the OpenSearch index mapping for the specified mapping name.
         * If the index doesn't exist, it will be created with the configured number of shards and replicas.
         * If the mapping doesn't exist, it will be created from the JSON file in the mapping directory.
         *
         * @param mappingName The name of the mapping to create.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 34.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

         * @param settings the settings for the suggest feature, including timeouts and scroll settings
         * @param index the name of the index from which documents should be deleted
         * @param queryBuilder the query used to identify documents to delete
         * @return true if the operation completes successfully
         * @throws SuggesterException if any error occurs during the delete operation
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/fess/suggest/Suggester.java

            threadPool.shutdownNow();
        }
    
        /**
         * Creates a new index if no index exists.
         * @return True if an index was created, false otherwise.
         */
        public boolean createIndexIfNothing() {
            try {
                boolean created = false;
                final IndicesExistsResponse response =
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 20.7K bytes
    - Viewed (3)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

         * excluding the general "*" pattern which matches all bots.
         *
         * @param userAgent the user agent string to match against directives,
         *                 can be null (treated as empty string)
         * @return the most specific matching directive, or null if no directive matches
         */
        public Directive getMatchedDirective(final String userAgent) {
            final String target;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            SuggestSettings settings = builder.build(client, id);
    
            assertNotNull(settings);
            // Verify that the settings object was created with the correct parameters
            // Note: We can't directly verify internal state of SuggestSettings without getters,
            // but we can verify it was created successfully
        }
    
        @Test
        public void testBuildWithCustomSettings() {
            // Test building with all custom settings
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java

            } else {
                logger.warn("Could not connect to {}", address);
            }
        }
    
        /**
         * Creates a new OpenSearch client based on the configured address.
         *
         * @return The created OpenSearch client.
         */
        protected Client createClient() {
            final String[] hosts =
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java

     * </ul>
     *
     * <p>Components can be registered in two ways:
     * <ul>
     *   <li>As singletons, where one instance is shared throughout the container's lifecycle</li>
     *   <li>As prototypes, where a new instance is created each time the component is requested</li>
     * </ul>
     *
     * <p>The container supports component initialization and destruction through consumer functions,
     * allowing custom setup and cleanup operations for components.
     *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.3K bytes
    - Viewed (0)
Back to top