Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_calculateDocumentSize_withNullValue (0.2 seconds)

  1. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            assertEquals("{\"size\":1,\"query\":{\"match_all\":{\"boost\":1.0}}}", resultMap.get("query"));
            assertEquals(1, documents.size());
        }
    
        @Test
        public void test_calculateDocumentSize_withNullValue() {
            final Map<String, Object> docMap = new HashMap<>();
            docMap.put("id", "test");
            docMap.put("nullField", null);
    
            long size = indexingHelper.calculateDocumentSize(docMap);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 29.7K bytes
    - Click Count (0)
Back to Top