Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for processUrl (0.36 sec)

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

        }
    
        /**
         * Test processUrl method with various URL patterns
         */
        public void test_processUrl_basic() {
            String sessionId = "test-session-012";
            urlFilter.init(sessionId);
    
            // Process URL should handle different URL formats
            urlFilter.processUrl("https://example.com/");
            urlFilter.processUrl("http://test.com/path/to/page");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            public void addExclude(String urlPattern) {
            }
    
            @Override
            public boolean match(String url) {
                return true;
            }
    
            @Override
            public void processUrl(String url) {
            }
    
            @Override
            public void clear() {
            }
        }
    
        /**
         * Test implementation of RuleManager for testing
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            // Initial state
            assertNull(testRule.getResponseProcessor());
    
            // Set response processor
            TestResponseProcessor processor = new TestResponseProcessor();
            testRule.setResponseProcessor(processor);
            assertSame(processor, testRule.getResponseProcessor());
    
            // Change response processor
            TestResponseProcessor newProcessor = new TestResponseProcessor();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  4. callbacks.go

    	match     func(*DB) bool
    	handler   func(*DB)
    	processor *processor
    }
    
    func (cs *callbacks) Create() *processor {
    	return cs.processors["create"]
    }
    
    func (cs *callbacks) Query() *processor {
    	return cs.processors["query"]
    }
    
    func (cs *callbacks) Update() *processor {
    	return cs.processors["update"]
    }
    
    func (cs *callbacks) Delete() *processor {
    	return cs.processors["delete"]
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

         */
        public void test_basicRuleImplementation() {
            TestResponseProcessor processor = new TestResponseProcessor("testProcessor");
            TestRule rule = new TestRule("rule1", processor, true);
    
            // Test getRuleId
            assertEquals("rule1", rule.getRuleId());
    
            // Test getResponseProcessor
            assertSame(processor, rule.getResponseProcessor());
    
            // Test match
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  6. docs/en/docs/async.md

    ///
    
    ---
    
    In this scenario of the parallel burgers, you are a computer / program 🤖 with two processors (you and your crush), both waiting 🕙 and dedicating their attention ⏯ to be "waiting on the counter" 🕙 for a long time.
    
    The fast food store has 8 processors (cashiers/cooks). While the concurrent burgers store might have had only 2 (one cashier and one cook).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:56:21 UTC 2025
    - 24K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/AbstractRule.java

        }
    
        @Override
        public ResponseProcessor getResponseProcessor() {
            return responseProcessor;
        }
    
        /**
         * Sets the response processor for this rule.
         *
         * @param responseProcessor the response processor to set
         */
        public void setResponseProcessor(final ResponseProcessor responseProcessor) {
            this.responseProcessor = responseProcessor;
        }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

                        java.util.function.BiFunction<org.opensearch.action.update.UpdateRequestBuilder, org.opensearch.search.SearchHit, org.opensearch.action.update.UpdateRequestBuilder> processor) {
                    // Return a fixed count for testing
                    return 3L;
                }
            };
            ComponentUtil.register(mockSearchEngineClient, "searchEngineClient");
    
            // Mock FessConfig
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                    .<DefaultResponseProcessor> singleton("defaultResponseProcessor", DefaultResponseProcessor.class, processor -> {
                        processor.setTransformer(container.getComponent("fileTransformer"));
                        processor.setSuccessfulHttpCodes(new int[] { 200 });
                        processor.setNotModifiedHttpCodes(new int[] { 304 });
                    })//
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/crawler/processor/FessResponseProcessorTest.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.crawler.processor;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class FessResponseProcessorTest extends UnitFessTestCase {
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top