Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for longOpt (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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. */
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertTrue(robotsTxt.allows("/public/", "ComplexBot"));
            assertTrue(robotsTxt.allows("/public/page.html", "ComplexBot"));
    
            // Test PriorityBot - longest match wins
            // Disallow: /store, Allow: /store/public, Disallow: /store/public/sale
            assertFalse(robotsTxt.allows("/store", "PriorityBot"));
            assertFalse(robotsTxt.allows("/store/items", "PriorityBot"));
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 20.6K bytes
    - Click Count (0)
Back to Top