Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 125 for Methods (0.02 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

     * </p>
     *
     * <p>
     * The transform method takes a ResponseData object containing the XML content and returns a ResultData object with the extracted and formatted data.
     * </p>
     *
     * <p>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

            urlQueueService.delete(sessionId);
            dataService.delete(sessionId);
            urlFilter.clear();
        }
    
        /**
         * Closes the crawler, releasing resources.
         * This method is called automatically when the crawler is used in a try-with-resources statement.
         */
        @Override
        public void close() {
            clientFactory.close();
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            // The first creation should increment the counter
            assertTrue("Instance count should be at least 1", SingletonTestComponent.getInstanceCount() >= 1);
        }
    
        /**
         * Test wrap method
         */
        public void test_wrap_basic() {
            TestComponent component = new TestComponent();
    
            PooledObject<TestComponent> pooledObject = factory.wrap(component);
    
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                final SearchRequestBuilder builder = c.prepareSearch(index);
                callback.accept(builder);
                builder.setFetchSource(new String[] { "parentUrl", "method", "mimeType", "sessionId", "url", "executionTime", "createTime",
                        "contentLength", "lastModified", "ruleId", "httpStatusCode", "status" }, null);
                return builder.execute();
            });
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/converter/KatakanaToAlphabetConverter.java

    import com.ibm.icu.text.Transliterator;
    
    /**
     * Converts Katakana characters to their corresponding Alphabet representations.
     *
     * <p>
     * This class implements the {@link ReadingConverter} interface and provides a method to convert a given
     * Katakana string into a list of possible Alphabet readings. It uses a predefined mapping of Katakana
     * characters to their Alphabet equivalents, handling both single and double Katakana character combinations.
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java

        /**
         * Merges an array of SuggestItem objects by combining items with the same ID.
         *
         * <p>This method iterates through the provided array of SuggestItem objects and merges
         * items that have the same ID. The merged items are added to a new list, which is then
         * converted back to an array and returned.</p>
         *
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. README.md

    # Run static analysis
    mvn spotbugs:check
    ```
    
    ### Running Tests
    
    ```bash
    # Run all tests
    mvn test
    
    # Run specific test class
    mvn test -Dtest=CrawlerTest
    
    # Run specific test method
    mvn test -Dtest=CrawlerTest#test_execute_web
    
    # Run tests for specific module
    mvn test -pl fess-crawler
    ```
    
    ## Examples
    
    ### Web Crawling with Custom Rules
    
    ```java
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

     * only one of them (allRequired = false). It also supports a default rule that always matches.
     *
     * <p>
     * The class uses a map of field names to Pattern objects to store the regular expressions.
     * The match method extracts the values of the specified fields from the ResponseData and
     * applies the corresponding regular expressions.
     * </p>
     *
     * <p>
     * Example usage:
     * </p>
     *
     * <pre>
     * {@code
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java

                }
            }
        }
    
        /**
         * Polls the next URL queue entry for the specified session.
         * This method manages local caches and fetches from OpenSearch when needed.
         *
         * @param sessionId The session ID.
         * @return The next URL queue entry, or null if none available.
         */
        @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 17K bytes
    - Viewed (1)
  10. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            AnalyzerConverter testConverter = new AnalyzerConverter(client, settings);
            assertNotNull(testConverter);
        }
    
        @Test
        public void testInit() throws IOException {
            // Test init method (should do nothing)
            converter.init();
            // No exception should be thrown
        }
    
        @Test
        public void testConvertWithNoLanguages() throws IOException {
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
Back to top