Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for addDocBoostMatcher (0.09 sec)

  1. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

            indexUpdater.setDaemon(true);
            indexUpdater.setCrawlerList(crawlerList);
            getAvailableBoostDocumentRuleList().forEach(rule -> {
                indexUpdater.addDocBoostMatcher(new org.codelibs.fess.indexer.DocBoostMatcher(rule));
            });
            indexUpdater.start();
    
            int startedCrawlerNum = 0;
            int activeCrawlerNum = 0;
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  2. 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)
  3. 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