Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addDocBoostMatcher (0.83 sec)

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

                }
    
                @Override
                public float getValue(Map<String, Object> map) {
                    return 2.5f;
                }
            };
            indexUpdater.addDocBoostMatcher(matcher);
    
            indexUpdater.updateDocument(doc);
    
            assertEquals(2.5f, doc.get("boost"));
            assertNotNull(doc.get("doc_id"));
        }
    
        // Test updateDocument without boost
    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/IndexUpdater.java

        }
    
        /**
         * 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);
        }
    
        /**
         * Sets the list of crawler instances that this updater will manage.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.7K bytes
    - Viewed (0)
Back to top