Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DocBoostMatcher (0.45 sec)

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

                addFavoriteCountField(map);
            }
    
            float documentBoost = 0.0f;
            for (final DocBoostMatcher docBoostMatcher : docBoostMatcherList) {
                if (docBoostMatcher.match(map)) {
                    documentBoost = docBoostMatcher.getValue(map);
                    break;
                }
            }
    
            if (documentBoost > 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

        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;
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
Back to top