Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setBoostExpression (0.24 sec)

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

                }
            }.register();
        }
    
        public void test_integer() {
            final DocBoostMatcher docBoostMatcher = new DocBoostMatcher();
            docBoostMatcher.setBoostExpression("10");
            docBoostMatcher.setMatchExpression("data1 > 10");
    
            final Map<String, Object> map = new HashMap<String, Object>();
    
            assertTrue(0.0f == docBoostMatcher.getValue(map));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

                return Float.parseFloat(value.toString());
            }
    
            return 0.0f;
        }
    
        public String getBoostExpression() {
            return boostExpression;
        }
    
        public void setBoostExpression(final String expression) {
            boostExpression = expression;
        }
    
        public String getMatchExpression() {
            return matchExpression;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top