Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 256 for Matcher (0.1 sec)

  1. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

            // assertFalse(indexUpdater.isAlive());
        }
    
        // Test updateDocument with boost matcher
        public void test_updateDocument_withBoostMatcher() {
            final Map<String, Object> doc = new HashMap<>();
            doc.put("url", "http://example.com");
    
            final DocBoostMatcher matcher = new DocBoostMatcher() {
                @Override
                public boolean match(Map<String, Object> map) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

            scriptType = ComponentUtil.getFessConfig().getCrawlerDefaultScript();
        }
    
        /**
         * Determines if the given document data matches the configured match expression.
         *
         * @param map the document data as a map of field names to values
         * @return true if the document matches the expression, false otherwise
         */
        public boolean match(final Map<String, Object> map) {
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/ExecJob.java

                final Pattern pattern = Pattern.compile(regex);
                System.getProperties()
                        .keySet()
                        .stream()
                        .filter(k -> k != null && pattern.matcher(k.toString()).matches())
                        .forEach(k -> addSystemProperty(cmdList, k.toString(), null, null));
            }
        }
    
        /**
         * Deletes the specified temporary directory.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

      private static void checkTryParse(String input) {
        Double expected = referenceTryParse(input);
        assertThat(Doubles.tryParse(input)).isEqualTo(expected);
        if (expected != null && !Doubles.FLOATING_POINT_PATTERN.matcher(input).matches()) {
          // TODO(cpovirk): Use SourceCodeEscapers if it is added to Guava.
          StringBuilder escapedInput = new StringBuilder();
          for (char c : input.toCharArray()) {
            if (c >= 0x20 && c <= 0x7E) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

            }
            final List<String> urlList = new ArrayList<>();
            for (final FailureUrl failureUrl : list) {
                if (pattern != null) {
                    if (!pattern.matcher(failureUrl.getErrorName()).matches()) {
                        urlList.add(failureUrl.getUrl());
                    }
                } else {
                    urlList.add(failureUrl.getUrl());
                }
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            this.maxIndexerErrorCount = maxIndexerErrorCount;
        }
    
        /**
         * Adds a document boost matcher rule for enhancing document relevance scores.
         *
         * @param rule the document boost matcher rule to add
         */
        public void addDocBoostMatcher(final DocBoostMatcher rule) {
            docBoostMatcherList.add(rule);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

            final String value = clientConfigMap.get(CRAWLER_CLIENTS);
            final CrawlerClient client = getClientRuleList(value).stream().map(e -> {
                if (e.getSecond().matcher(url).matches()) {
                    return e.getFirst();
                }
                return null;
            })
                    .filter(StringUtil::isNotBlank)
                    .findFirst()//
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                        logger.debug("Using exclude pattern: {}", pattern);
                    }
                }
                if (paramMap.get(URL_EXCLUDE_PATTERN) instanceof final Pattern pattern) {
                    if (pattern.matcher(url).matches()) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Skipping URL {} due to exclude pattern: {}", url, pattern);
                        }
                        return false;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/primitives/DoublesTest.java

      private static void checkTryParse(String input) {
        Double expected = referenceTryParse(input);
        assertThat(Doubles.tryParse(input)).isEqualTo(expected);
        if (expected != null && !Doubles.FLOATING_POINT_PATTERN.matcher(input).matches()) {
          // TODO(cpovirk): Use SourceCodeEscapers if it is added to Guava.
          StringBuilder escapedInput = new StringBuilder();
          for (char c : input.toCharArray()) {
            if (c >= 0x20 && c <= 0x7E) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
Back to top