Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 221 for pattern2 (0.34 sec)

  1. src/test/java/org/codelibs/opensearch/extension/analysis/PatternConcatenationFilterFactory.java

                logger.debug("pattern1: {}, pattern2: {}", pattern1Str, pattern2Str);
            }
            if (pattern1Str != null) {
                pattern1 = Pattern.compile(pattern1Str);
                pattern2 = Pattern.compile(pattern2Str);
            }
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            return new PatternConcatenationFilter(tokenStream, pattern1, pattern2);
        }
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            emptyGenerator = new EmptyGenerator();
    
            // Test adding conditions - this should work without container
            emptyGenerator.addCondition("field1", "pattern1");
            emptyGenerator.addCondition("field1", "pattern2");
            emptyGenerator.addCondition("field2", "pattern.*");
    
            // We can't test isTarget properly without container,
            // but we can verify conditions are added
            assertNotNull(emptyGenerator);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  4. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  5. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImpl.java

            final List<Pattern> includeList = getUrlFilterService().getIncludeUrlPatternList(sessionId);
            final List<Pattern> excludeList = getUrlFilterService().getExcludeUrlPatternList(sessionId);
    
            if (!includeList.isEmpty()) {
                boolean match = false;
                for (final Pattern pattern : includeList) {
                    final Matcher matcher = pattern.matcher(url);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. 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: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

     * <p>
     * Pattern syntax supports:
     * <ul>
     *   <li>Standard glob patterns with {@code *}, {@code ?}, and {@code **} wildcards</li>
     *   <li>Explicit syntax prefixes like {@code "glob:"} or {@code "regex:"}</li>
     *   <li>Maven 3 compatible behavior for patterns without explicit syntax</li>
     *   <li>Default exclusion patterns for SCM files when requested</li>
     * </ul>
     *
     * @since 4.0.0
     * @see PathMatcher
     */
    @Experimental
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jul 21 19:37:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java

        /** Map of regex patterns to passwords for static password configuration. */
        protected Map<Pattern, String> passwordMap = new HashMap<>();
    
        /** Cache for parsed password configurations from extraction parameters. */
        private final Map<String, List<Pair<Pattern, String>>> configPasswordMap = new ConcurrentHashMap<>();
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top