Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for updateDocument (0.36 seconds)

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

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

                    return 2.5f;
                }
            };
            indexUpdater.addDocBoostMatcher(matcher);
    
            indexUpdater.updateDocument(doc);
    
            assertEquals(2.5f, doc.get("boost"));
            assertNotNull(doc.get("doc_id"));
        }
    
        // Test updateDocument without boost
        @Test
        public void test_updateDocument_withoutBoost() {
            final Map<String, Object> doc = new HashMap<>();
    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)
  2. src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java

            Map<String, Object> doc = new HashMap<>();
            doc.put("lang", "ja");
            doc.put("title", "タイトル");
            doc.put("content", "コンテンツ");
    
            languageHelper.updateDocument(doc);
    
            assertEquals("ja", doc.get("lang"));
            assertEquals("タイトル", doc.get("title_ja"));
            assertEquals("コンテンツ", doc.get("content_ja"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13K bytes
    - Click Count (0)
Back to Top