- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for updateDocument (0.08 sec)
-
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 Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 24.2K 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) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 11.1K 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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
QueryBuilders.termsQuery(fessConfig.getIndexFieldDocId(), docIdList.stream().toArray(n -> new String[n]))); } return 0L; } public boolean updateDocument(final SearchEngineClient searchEngineClient, final String id, final String field, final Object value) { final FessConfig fessConfig = ComponentUtil.getFessConfig();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.8K 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 Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jul 24 08:54:24 UTC 2024 - 23.4K bytes - Viewed (0)