- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for updateDocument (0.05 sec)
-
src/main/java/org/codelibs/fess/helper/LanguageHelper.java
} /** * Updates a document with language information. * * @param doc The document to update. */ public void updateDocument(final Map<String, Object> doc) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); String language = getSupportedLanguage(DocumentUtil.getValue(doc, fessConfig.getIndexFieldLang(), String.class));Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 6.9K 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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 32.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java
if (langList.contains("auto")) { newDoc.remove(indexFieldLang); } languageHelper.updateDocument(newDoc); } return newDoc; }).toList(); if (fessConfig.isThumbnailCrawlerEnabled()) { final ThumbnailManager thumbnailManager = ComponentUtil.getThumbnailManager();
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.3K 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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 10.5K 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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 13.4K 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 field: field={}, url={}", fessConfig.getIndexFieldExpires(), url); }Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Dec 11 09:47:03 UTC 2025 - 19.5K 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: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 26.1K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java
// Verify the model version and namespace - use the updated document from pomMap Document updatedDocument = pomMap.get(Paths.get("pom.xml")); Editor editor = new Editor(updatedDocument); Element root = editor.root(); assertEquals(expectedNamespace, root.namespaceURI(), "Namespace should be updated: " + description);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 38.8K bytes - Viewed (0)