Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for Match (0.01 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

            responseData.setUrl("http://example.com");
    
            assertTrue(rule.match(responseData));
            assertTrue(rule.match(responseData));
            assertTrue(rule.match(responseData));
            assertEquals(3, rule.getMatchCallCount());
        }
    
        /**
         * Test Rule with always false match
         */
        public void test_ruleNeverMatch() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            // Without any patterns, all URLs should match
            assertTrue(urlFilter.match("https://example.com/"));
            assertTrue(urlFilter.match("https://test.com/page"));
            assertTrue(urlFilter.match("ftp://files.com/document.pdf"));
            assertTrue(urlFilter.match("file:///home/user/file.txt"));
        }
    
        /**
         * Test match with complex URL patterns
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

        }
    
        /**
         * Test match method implementation
         */
        public void test_match_implementation() {
            ResponseData responseData = new ResponseData();
            responseData.setUrl("http://example.com");
    
            // Test default match (true)
            assertTrue(testRule.match(responseData));
            assertEquals(1, testRule.getMatchCallCount());
    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. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

                assertTrue(crawlerContext.getRobotsTxtUrlSet().contains("http://localhost:7070/robots.txt"));
                assertFalse(urlFilter.match("http://localhost:7070/admin/"));
                assertFalse(urlFilter.match("http://localhost:7070/websvn/"));
            } finally {
                server.stop();
            }
        }
    
        public void test_processRobotsTxt_disabled() {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

                            } catch (final Exception e1) {
                                log(logHelper, LogType.CRAWLING_EXCEPTION, crawlerContext, urlQueue, e1);
                            }
                            if (noWaitOnFolder) {
                                continue;
                            }
                        } catch (final CrawlingAccessException e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

                fail("Should throw IndexOutOfBoundsException for negative index");
            } catch (IndexOutOfBoundsException e) {
                // Expected
            }
    
            try {
                ruleManager.addRule(5, rule2);
                fail("Should throw IndexOutOfBoundsException for index > size");
            } catch (IndexOutOfBoundsException e) {
                // Expected
            }
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

        }
    
        /**
         * Sets the prefix match weight.
         * @param prefixMatchWeight The prefix match weight.
         */
        public void setPrefixMatchWeight(final float prefixMatchWeight) {
            this.prefixMatchWeight = prefixMatchWeight;
        }
    
        /**
         * Sets whether to match the first word.
         * @param matchWordFirst True to match the first word, false otherwise.
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

     * </ul>
     *
     * <p>The class uses case-insensitive pattern matching for user agents and supports
     * wildcard characters (*) in user agent strings. When multiple directives match a user agent,
     * the most specific (longest) match is used.</p>
     *
     */
    public class RobotsTxt {
        private static final String ALL_BOTS = "*";
    
        /** Map of user agent patterns to their corresponding directives. */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

        }
    
        /**
         * Extracts a list of TermQuery objects from the given Query object that match the specified fields.
         *
         * @param query the Query object to extract TermQuery objects from
         * @param fields an array of field names to match against the TermQuery objects
         * @return a list of TermQuery objects that match the specified fields, or an empty list if no matches are found
         */
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 17.4K bytes
    - Viewed (1)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

     * </p>
     *
     */
    public class HtmlXpathExtractor extends AbstractXmlExtractor {
        /**
         * Regular expression pattern to match the charset attribute in the meta tag of HTML documents.
         * The pattern captures the charset value specified in the content attribute of the meta tag.
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top