Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addBoostValue (0.33 sec)

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

            indexUpdater.updateDocument(doc);
    
            assertEquals("existing_id", doc.get("doc_id"));
        }
    
        // Test addBoostValue
        public void test_addBoostValue() {
            final Map<String, Object> doc = new HashMap<>();
            indexUpdater.addBoostValue(doc, 3.5f);
    
            assertEquals(3.5f, doc.get("boost"));
        }
    
        // Test addClickCountField with URL
    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

                if (docBoostMatcher.match(map)) {
                    documentBoost = docBoostMatcher.getValue(map);
                    break;
                }
            }
    
            if (documentBoost > 0) {
                addBoostValue(map, documentBoost);
            }
    
            if (!map.containsKey(fessConfig.getIndexFieldDocId())) {
                map.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(map));
            }
    
    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