Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for manches (0.04 sec)

  1. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                    if (excludedPaths != null && excludedPaths.matcher(path).matches()) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Path {} matches the include/exclude path expression {} on {} of label.", path, excludedPaths, value);
                        }
                        return false;
                    }
                    if (logger.isDebugEnabled()) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                return length;
            }
    
            /**
             * Checks if the given path matches this pattern.
             * @param path the path to check
             * @return true if the path matches, false otherwise
             */
            public boolean matches(final String path) {
                return regexPattern.matcher(path).find();
            }
    
            /**
             * Gets the original pattern string.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/util/PrunedTag.java

                final Matcher matcher = pattern.matcher(v.trim());
                if (matcher.matches()) {
                    final PrunedTag tag = new PrunedTag(matcher.group(1));
                    if (matcher.group(2) != null) {
                        final String attrPair = matcher.group(2).substring(1, matcher.group(2).length() - 1);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 04:23:08 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java

            // Verify patterns work correctly
            assertTrue(includePatterns.get(0).matcher("http://example.com/page").matches());
            assertTrue(excludePatterns.get(0).matcher("http://example.com/admin/users").matches());
            assertFalse(excludePatterns.get(0).matcher("http://example.com/page").matches());
    
            urlFilterService.delete(sessionId);
        }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

        }
    
        /**
         * Creates a path matcher function for path mapping.
         *
         * @param matcher the regex matcher
         * @param replacement the replacement string
         * @return the path matcher function
         */
        public BiFunction<String, Matcher, String> createPathMatcher(final Matcher matcher, final String replacement) { // for PathMapping
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

                return null;
            }
    
            for (final Map.Entry<Pattern, CrawlerClient> entry : clientMap.entrySet()) {
                final Matcher matcher = entry.getKey().matcher(urlKey);
                if (matcher.matches()) {
                    return entry.getValue();
                }
            }
            return null;
        }
    
        /**
         * Sets the initialization parameter map for all clients.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

         * Retrieves related content for a given search query.
         * First checks for exact term matches, then evaluates regex patterns.
         * For regex matches, the query placeholder is replaced with the actual query.
         *
         * @param query the search query to find related content for
         * @return array of related content strings, or empty array if no matches found
         */
        public String[] getRelatedContents(final String query) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

         * @return the extracted value, or null if no match
         */
        protected String getValue(final Pattern pattern, final String line) {
            final Matcher m = pattern.matcher(line);
            if (m.matches() && m.groupCount() > 0) {
                return m.group(1);
            }
            return null;
        }
    
        /**
         * Strips comments from a line (everything after '#' character).
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java

            Directive directive = new Directive("MyBot");
            directive.addDisallow("/admin/");
            robotsTxt.addDirective(directive);
    
            Directive matched = robotsTxt.getMatchedDirective("MyBot");
            assertNotNull(matched);
            assertEquals("MyBot", matched.getUserAgent());
        }
    
        public void test_getMatchedDirectiveWithWildcard() {
            // Test getMatchedDirective with wildcard
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

            }
    
            for (final Pattern pattern : includedDocUrlPatterns) {
                if (pattern.matcher(input).matches()) {
                    return Constants.TRUE;
                }
            }
    
            for (final Pattern pattern : excludedDocUrlPatterns) {
                if (pattern.matcher(input).matches()) {
                    return Constants.FALSE;
                }
            }
    
            return Constants.TRUE;
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
Back to top