Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 157 for match1 (0.04 seconds)

  1. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

        }
    
        /**
         * Gets the current match expression.
         *
         * @return the match expression string
         */
        public String getMatchExpression() {
            return matchExpression;
        }
    
        /**
         * Sets the match expression used to determine if documents should be boosted.
         *
         * @param expression the match expression string
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/indexer/DocBoostMatcherTest.java

            map.put("data1", 20);
            assertTrue(docBoostMatcher.match(map));
    
            map.put("data1", 5);
            assertFalse(docBoostMatcher.match(map));
    
            map.remove("data1");
            assertFalse(docBoostMatcher.match(map));
    
            map.put("data2", 5);
            assertFalse(docBoostMatcher.match(map));
        }
    
        @Test
        public void test_string() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

            final String servletPath = request.getServletPath();
            final boolean matches = servletPath.startsWith(CHAT_API_PATH);
            if (logger.isTraceEnabled()) {
                logger.trace("ChatApiManager.matches() checking path. servletPath={}, expectedPrefix={}, matches={}", servletPath,
                        CHAT_API_PATH, matches);
            }
            return matches;
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/PrunedTagTest.java

            assertTrue(tagWithIdAndCss.matches(nodeWithBothIdAndClass));
    
            // Node with correct id but different class should still match (id takes precedence)
            MockNode nodeWithCorrectIdWrongClass = new MockNode("div");
            nodeWithCorrectIdWrongClass.addAttribute("id", "main");
            nodeWithCorrectIdWrongClass.addAttribute("class", "other");
            assertTrue(tagWithIdAndCss.matches(nodeWithCorrectIdWrongClass));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.1K bytes
    - Click Count (0)
  5. src/main/resources/fess_indices/_cloud/fess/doc.json

              "match": "*_bn",
              "mapping": {
                "type": "text",
                "analyzer": "empty_analyzer"
              }
            }
          },
          {
            "lang_ca": {
              "match": "*_ca",
              "mapping": {
                "type": "text",
                "analyzer": "catalan_analyzer"
              }
            }
          },
          {
            "lang_ckb-iq": {
              "match": "*_ckb-iq",
              "mapping": {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 07:52:55 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            final CustomSize annotation = field.getAnnotation(CustomSize.class);
    
            assertNotNull(annotation, "Annotation should be present on field");
            assertEquals("minKey should match", "test.min", annotation.minKey());
            assertEquals("maxKey should match", "test.max", annotation.maxKey());
            assertEquals("message should be default", "{jakarta.validation.constraints.Size.message}", annotation.message());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

        }
    
        // Test updateDocument with boost matcher
        @Test
        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) {
                    return true;
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 33.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/PluginHelper.java

            final List<Artifact> list = new ArrayList<>();
            final String repoContent = getRepositoryContent(url);
            final Matcher matcher = Pattern.compile("href=\"[^\"]*(" + artifactType.getId() + "[a-zA-Z0-9\\-]+)/?\"").matcher(repoContent);
            while (matcher.find()) {
                final String name = matcher.group(1);
                if (isExcludedName(artifactType, name)) {
                    continue;
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Mar 04 15:19:41 GMT 2026
    - 25.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            final Set<ElementType> actualTargets = new HashSet<>(Arrays.asList(target.value()));
    
            assertEquals("Target elements should match", expectedTargets, actualTargets);
        }
    
        // Test annotation is documented
        @Test
        public void test_documented() {
            final Documented documented = UriType.class.getAnnotation(Documented.class);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

                final java.util.regex.Matcher m = p.matcher(stripCodeFences(json));
                if (m.find()) {
                    final String arrayContent = m.group(1);
                    return Arrays.stream(arrayContent.split(","))
                            .map(String::trim)
                            .filter(s -> s.matches("\\d+"))
                            .map(Integer::parseInt)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
Back to Top