Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for DocBoostMatcher (0.12 seconds)

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

        /**
         * Default constructor that creates a DocBoostMatcher with default script type.
         * Uses the default script engine as defined in Constants.DEFAULT_SCRIPT.
         */
        public DocBoostMatcher() {
            scriptType = Constants.DEFAULT_SCRIPT;
        }
    
        /**
         * Constructor that creates a DocBoostMatcher from a BoostDocumentRule.
         *
    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

        }
    
        @Test
        public void test_getValue_nullMap() {
            final DocBoostMatcher docBoostMatcher = new DocBoostMatcher();
            docBoostMatcher.setBoostExpression("10");
            assertEquals(0.0f, docBoostMatcher.getValue(null));
        }
    
        @Test
        public void test_getValue_emptyMap() {
            final DocBoostMatcher docBoostMatcher = new DocBoostMatcher();
    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/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

        @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;
                }
    
                @Override
    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)
Back to Top