Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for Adding (0.02 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

         */
        public void test_init_withEmptySessionId() {
            urlFilter.init("");
            // Should handle empty session ID gracefully
            assertNotNull(urlFilter);
        }
    
        /**
         * Test adding a single include pattern
         */
        public void test_addInclude_singlePattern() {
            String sessionId = "test-session-002";
            urlFilter.init(sessionId);
    
            urlFilter.addInclude("https://example.com/.*");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

        @Test
        public void testAddInitialSettings() {
            // Test adding single setting
            SuggestSettingsBuilder result = builder.addInitialSettings("key1", "value1");
            assertEquals(builder, result); // Test method chaining
            assertEquals(1, builder.initialSettings.size());
            assertEquals("value1", builder.initialSettings.get("key1"));
    
            // Test adding multiple settings
            builder.addInitialSettings("key2", 100);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

        }
    
        /**
         * Test adding a single rule
         */
        public void test_addRule_single() {
            TestRule rule = new TestRule("rule1", true);
    
            ruleManager.addRule(rule);
    
            assertTrue(ruleManager.hasRule(rule));
            assertEquals(1, ruleManager.getRuleCount());
        }
    
        /**
         * Test adding multiple rules
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  4. README.md

    // Configure SSL settings
    container.singleton("httpClient", HcHttpClient.class, client -> {
        client.setTrustAllCertificates(true);  // For testing only
    });
    ```
    
    ### Debug Logging
    
    Enable debug logging by adding to your logging configuration:
    
    ```xml
    <logger name="org.codelibs.fess.crawler" level="DEBUG"/>
    <logger name="org.codelibs.fess.crawler.client" level="DEBUG"/>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Aug 31 05:32:52 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. src/archive/tar/writer.go

    //
    // TODO(dsnet): Re-export this when adding sparse file support.
    // See https://golang.org/issue/22735
    func (tw *Writer) readFrom(r io.Reader) (int64, error) {
    	if tw.err != nil {
    		return 0, tw.err
    	}
    	n, err := tw.curr.ReadFrom(r)
    	if err != nil && err != ErrWriteTooLong {
    		tw.err = err
    	}
    	return n, err
    }
    
    // Close closes the tar archive by flushing the padding, and writing the footer.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Feb 03 16:38:43 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. src/archive/tar/reader.go

    // assuming that skipped regions are filled with NULs.
    // This always writes the last byte to ensure w is the right size.
    //
    // TODO(dsnet): Re-export this when adding sparse file support.
    // See https://golang.org/issue/22735
    func (tr *Reader) writeTo(w io.Writer) (int64, error) {
    	if tr.err != nil {
    		return 0, tr.err
    	}
    	n, err := tr.curr.WriteTo(w)
    	if err != nil {
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. src/archive/tar/common.go

    	paxGNUSparseRealSize  = "GNU.sparse.realsize"
    )
    
    // basicKeys is a set of the PAX keys for which we have built-in support.
    // This does not contain "charset" or "comment", which are both PAX-specific,
    // so adding them as first-class features of Header is unlikely.
    // Users can use the PAXRecords field to set it themselves.
    var basicKeys = map[string]bool{
    	paxPath: true, paxLinkpath: true, paxSize: true, paxUid: true, paxGid: true,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

    import org.opensearch.search.SearchHit;
    import org.opensearch.transport.client.Client;
    
    /**
     * The ArraySettings class provides methods to manage settings stored in an array format within an OpenSearch index.
     * It allows adding, retrieving, and deleting settings based on keys and values.
     *
     * <p>Constructor:
     * <ul>
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

     *   <li>Processing the response using a {@link ResponseProcessor} associated with a {@link Rule}.</li>
     *   <li>Extracting child URLs and adding them to the queue using {@link #storeChildUrls(Set, String, int)}
     *       or {@link #storeChildUrl(String, String, float, int)}.</li>
     *   <li>Handling exceptions that may occur during the crawling process.</li>
     * </ol>
     *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

    import org.codelibs.fess.crawler.service.UrlQueueService;
    
    import jakarta.annotation.Resource;
    
    /**
     * The Crawler class is the main class for web crawling. It manages the crawling process,
     * including adding URLs to the queue, filtering URLs, managing crawler threads,
     * and handling the overall crawling lifecycle.
     *
     * <p>It implements the Runnable interface to be executed in a separate thread,
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
Back to top