Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for Patterns (0.04 sec)

  1. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            Pattern[] patterns = (Pattern[]) propMap.get(CRAWLER_METADATA_CONTENT_EXCLUDES);
            if (patterns == null) {
                patterns = split(getCrawlerMetadataContentExcludes(), ",")
                        .get(stream -> stream.filter(StringUtil::isNotBlank).map(Pattern::compile).toArray(n -> new Pattern[n]));
                propMap.put(CRAWLER_METADATA_CONTENT_EXCLUDES, patterns);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  2. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            assertFalse(validator.isValid("* * * *", context));
        }
    
        // Test common valid cron patterns that are likely to work
        public void test_basicValidCronExpressions() {
            final ConstraintValidatorContext context = null;
    
            // Test basic patterns that should be valid
            String[] potentiallyValidCrons = { "0 0 * * * ?", // Every hour
                    "0 */15 * * * ?", // Every 15 minutes
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. README.md

    ### Key Architectural Patterns
    - **Factory Pattern** - `BeanDescFactory` for creating bean descriptors, `ParameterizedClassDescFactory` for generic type handling
    - **Builder Pattern** - `CopyOptions` for configuring bean copying operations with fluent API
    - **Adapter Pattern** - Logging adapters (`JclLoggerAdapter`, `JulLoggerAdapter`) for different logging frameworks
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

        /**
         * Cache for client rules mapping client names to their corresponding URL patterns.
         * This cache improves performance by avoiding repeated parsing of client configuration rules.
         * The key is the rule string, and the value is a pair containing the client name and compiled pattern.
         */
        protected ConcurrentHashMap<String, Pair<String, Pattern>> clientRuleCache = new ConcurrentHashMap<>();
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            } finally {
                if (outputFile.exists()) {
                    outputFile.delete();
                }
            }
        }
    
        // Test concurrent access patterns
        public void test_concurrent_operations() throws Exception {
            final CommandGenerator generator1 = new CommandGenerator();
            final CommandGenerator generator2 = new CommandGenerator();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

         *
         * @param convertUrlMap the map of regex patterns to replacement strings
         */
        public void setConvertUrlMap(final Map<String, String> convertUrlMap) {
            this.convertUrlMap.putAll(convertUrlMap);
        }
    
        /**
         * Adds a URL conversion rule.
         *
         * @param regex the regular expression pattern to match
         * @param replacement the replacement string
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    final Pattern pattern = Pattern.compile(value);
                    paramMap.put(URL_EXCLUDE_PATTERN, pattern);
                    if (logger.isDebugEnabled()) {
                        logger.debug("Using exclude pattern: {}", pattern);
                    }
                }
                if (paramMap.get(URL_EXCLUDE_PATTERN) instanceof final Pattern pattern) {
                    if (pattern.matcher(url).matches()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    /**
     * <b>Do not use this class directly. For access to public-suffix information, use {@link
     * com.google.common.net.InternetDomainName}.</b>
     *
     * <p>A generated static class containing public members which provide domain name patterns used in
     * determining whether a given domain name is an effective top-level domain (public suffix).
     *
     * <p>Because this class is used in GWT, the data members are stored in a space-efficient manner.
     * See {@link TrieParser}.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:39:59 UTC 2025
    - 75.3K bytes
    - Viewed (0)
  10. 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)
Back to top