- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for updateDocument (0.13 sec)
-
src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java
try { languageHelper.updateDocument(doc); fail("Should throw NullPointerException without detector"); } catch (NullPointerException e) { // Expected since we don't have a detector } } public void test_updateDocument_emptyDoc() { Map<String, Object> doc = new HashMap<>(); languageHelper.updateDocument(doc);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.6K bytes - Viewed (0) -
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 public void test_updateDocument_withoutBoost() { final Map<String, Object> doc = new HashMap<>();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
return matchedLabels; } } private static class TestLanguageHelper extends LanguageHelper { @Override public void updateDocument(Map<String, Object> dataMap) { // Do nothing } } private static class TestSearchEngineClient extends SearchEngineClient { // Empty implementation for testing }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/indexer/IndexUpdater.java
} continue; } map.remove(Constants.INDEXING_TARGET); updateDocument(map); docList.add(ingest(accessResult, map)); final long contentSize = indexingHelper.calculateDocumentSize(map); docList.addContentSize(contentSize);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 32.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java
if (!dataMap.containsKey(fessConfig.getIndexFieldDocId())) { dataMap.put(fessConfig.getIndexFieldDocId(), systemHelper.generateDocId(dataMap)); } ComponentUtil.getLanguageHelper().updateDocument(dataMap); synchronized (docList) { docList.add(ingest(paramMap, dataMap)); final long contentSize = indexingHelper.calculateDocumentSize(dataMap);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java
// TODO bulk final FessConfig fessConfig = ComponentUtil.getFessConfig(); try { ComponentUtil.getIndexingHelper() .updateDocument(ComponentUtil.getSearchEngineClient(), thumbnailId, fessConfig.getIndexFieldThumbnail(), value); } catch (final Exception e) { logger.warn("Failed to update thumbnail field at {}", thumbnailId, e);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
final Date documentExpires = crawlingInfoHelper.getDocumentExpires(crawlingConfig); if (documentExpires != null && !indexingHelper.updateDocument(searchEngineClient, id, fessConfig.getIndexFieldExpires(), documentExpires)) { logger.debug("Failed to update {} at {}", fessConfig.getIndexFieldExpires(), url); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 19.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
* @param field the field name to update * @param value the new value for the field * @return true if the update was successful, false otherwise */ public boolean updateDocument(final SearchEngineClient searchEngineClient, final String id, final String field, final Object value) { final FessConfig fessConfig = ComponentUtil.getFessConfig();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 26.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
ComponentUtil.register(client, "searchEngineClient"); final String id = "001"; final String field = "content"; final String value = "test"; assertTrue(indexingHelper.updateDocument(client, id, field, value)); assertEquals("fess.update", resultMap.get("index")); assertEquals(id, resultMap.get("id")); assertEquals(field, resultMap.get("field"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 29.3K bytes - Viewed (0)