Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 64 for pattern2 (0.05 seconds)

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

  1. 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) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

            final Set<String> valueSet = new HashSet<>();
            for (final LabelTypePattern pattern : labelTypePatternList) {
                if (pattern.match(path)) {
                    valueSet.add(pattern.getValue());
                }
            }
            return valueSet;
        }
    
        /**
         * Builds a list of label type patterns.
         *
         * @param labelTypeList The list of label types.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  3. 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<>();
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

            System.setProperty("java.version", "11.0.1");
    
            // Test version patterns with different separators
            String[] args = new String[] { "11:-Dprop=value:with:colons", "8-:-Xbootclasspath/a:/path/to/jar", "malformed11:-invalid", // Should not match pattern
                    "11-malformed:-invalid" // Should not match pattern
            };
    
            String[] result = JvmUtil.filterJvmOptions(args);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  5. MIGRATION.md

       - Convert URL patterns to Fess regex patterns
       - Set up LabelType (access control labels) if defined
    
    **Step 3: Verify Imported Configurations**
    
    After import, verify:
    - **Crawler > Web**: Check web crawling configurations
    - **Crawler > File**: Check file crawling configurations (SMB, FTP)
    - **System > General**: Verify URL patterns and filters
    
    **GSA Configuration Mapping**
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 06 12:40:11 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            assertTrue(pattern.match("/test/path"));
    
            // Should not match excluded path
            assertFalse(pattern.match("/exclude/path"));
        }
    
        @Test
        public void test_labelTypePattern_match_noPatterns() {
            LabelTypePattern pattern = new LabelTypePattern("test", null, null);
    
            // Should match everything when no patterns
            assertTrue(pattern.match("/any/path"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  7. 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()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
  8. src/main/java/org/codelibs/fess/Constants.java

        /** Pattern for detecting reserved characters in Lucene range field queries. */
        public static final Pattern LUCENE_RANGE_FIELD_RESERVED_PATTERN = Pattern.compile("([!\\(\\){}\\[\\]\"~\\\\:\\p{Zs}]|(&&)|(\\|\\|))");
    
        // ============================================================
        // Query and Search Constants
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/common/CommonExtensions.kt

     * @param historyDays days number of days to store build history .
     * @param artifactsDays number of days to store artifacts. In the stored history, artifacts older than this number will be cleaned up.
     * @param artifactsPatterns patterns for artifacts clean-up. If not specified, all artifacts will be removed.
     */
    fun Project.cleanupRule(
        historyDays: Int,
        artifactsDays: Int,
        artifactsPatterns: String? = null,
    ) {
        features {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 13 05:03:56 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

                return Constants.TRUE;
            }
    
            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;
                }
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Jan 10 01:38:30 GMT 2026
    - 10.3K bytes
    - Click Count (0)
Back to Top