Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for not_a_number (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

        }
    
        @Test
        public void test_getValue_nonNumericString() {
            final DocBoostMatcher docBoostMatcher = new DocBoostMatcher();
            docBoostMatcher.setBoostExpression("'not_a_number'");
            docBoostMatcher.setMatchExpression("true");
    
            final Map<String, Object> map = new HashMap<String, Object>();
            map.put("data1", 1);
            assertEquals(0.0f, docBoostMatcher.getValue(map));
    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)
  2. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

            assertEquals(123L, coordinatorHelper.getLongValue(map, "time"));
        }
    
        @Test
        public void test_getLongValue_notNumber() {
            final Map<String, Object> map = Map.of("time", "not_a_number");
            assertEquals(0L, coordinatorHelper.getLongValue(map, "time"));
        }
    
        @Test
        public void test_getLongValue_missing() {
            final Map<String, Object> map = Map.of("key", "value");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
Back to Top