- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 259 for Patterns (0.72 sec)
-
fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_wildcard.txt
# Based on RFC 9309 specification # Test wildcard patterns User-agent: WildcardBot Disallow: /*.pdf$ Disallow: /admin/*.php Disallow: /*/private/ Allow: /public/*.html # Test end-of-path ($) patterns User-agent: EndPathBot Disallow: /fish$ Disallow: /temp$ Allow: /fishing # Test complex patterns User-agent: ComplexBot Disallow: / Allow: /$ Allow: /index.html$ Allow: /public/
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 14:03:41 UTC 2025 - 910 bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java
/** * A factory class for managing and creating crawler clients based on URL patterns. * This class implements AutoCloseable to properly handle resource cleanup. * * <p>The factory maintains a map of regular expression patterns to crawler clients, * allowing for URL-based client selection. Clients can be added with specific patterns * and optionally at specific positions in the processing order.</p> *
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 7.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java
private final int priorityLength; /** * Constructs a new PathPattern from the given robots.txt path pattern. * @param pattern the path pattern string from robots.txt (may contain * and $) */ public PathPattern(final String pattern) { this.pattern = pattern;Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/UrlFilterService.java
/** * Retrieves a list of URL patterns to include for a given session. * * @param sessionId the ID of the session for which to retrieve the include URL patterns * @return a list of compiled regular expression patterns representing the URLs to include */ List<Pattern> getIncludeUrlPatternList(String sessionId); /** * Retrieves a list of URL patterns to be excluded for a given session. *Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 3.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java
} /** * Gets the list of include URL patterns for the specified session. * * @param sessionId The session ID. * @return The list of compiled include patterns. * @throws CrawlerSystemException if the patterns cannot be loaded. */ @Override public List<Pattern> getIncludeUrlPatternList(final String sessionId) { try {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java
/** Map of session IDs to include URL patterns for filtering URLs. */ protected volatile Map<String, List<Pattern>> includeUrlPatternMap = new HashMap<>(); /** Map of session IDs to exclude URL patterns for filtering URLs. */ protected volatile Map<String, List<Pattern>> excludeUrlPatternMap = new HashMap<>(); /** * Creates a new MemoryDataHelper instance.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 8.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java
.getTotalHits() .value() > 0); // Verify pattern can be retrieved final List<Pattern> patterns = urlFilterService.getIncludeUrlPatternList(sessionId); assertEquals(1, patterns.size()); assertTrue(patterns.get(0).matcher("http://example.com/page1").matches()); assertFalse(patterns.get(0).matcher("http://other.com/page1").matches());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
} /** * Converts a GSA URL pattern into a regular expression pattern suitable for Fess. * Handles various GSA pattern formats including regexp, contains, and URL-based patterns. * * @param s the input GSA pattern string * @return a regular expression pattern string, or empty string for comments/invalid patterns */ protected String getFilterPath(final String s) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 21.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java
* @param regex the regular expression pattern */ public void addRule(final String key, final String regex) { regexMap.put(key, Pattern.compile(regex)); } /** * Adds a compiled regular expression rule for the specified field. * @param key the field name to match against * @param pattern the compiled regular expression pattern */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java
String sessionId = "test-session-024"; urlFilter.init(sessionId); // Test empty pattern urlFilter.addInclude(""); urlFilter.addExclude(""); // Test single character pattern urlFilter.addInclude("."); urlFilter.addExclude("*"); // Test patterns with only special characters urlFilter.addInclude("^$"); urlFilter.addExclude(".*");Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 19K bytes - Viewed (0)