- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for getIndexDocumentUpdateIndex (0.29 sec)
-
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
logger.debug("Deleted {} old docs", deletedDocCount); } final BulkResponse response = searchEngineClient.addAll(fessConfig.getIndexDocumentUpdateIndex(), docList, (doc, builder) -> { final String configId = (String) doc.get(fessConfig.getIndexFieldConfigId());
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/job/PurgeDocJobTest.java
@Override public String getIndexFieldExpires() { return expiresFieldName; } @Override public String getIndexDocumentUpdateIndex() { return documentUpdateIndex; } }; // Register components ComponentUtil.register(searchEngineClient, "searchEngineClient");Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java
// GET /api/admin/searchlist/doc/{doc_id} @Execute public JsonResponse<ApiResult> get$doc(final String id) { return asJson(new ApiDocResponse().doc(searchEngineClient.getDocument(fessConfig.getIndexDocumentUpdateIndex(), builder -> { builder.setQuery(QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), id)); return true; }).orElseGet(() -> {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/score/ScoreBooster.java
final FessConfig fessConfig = ComponentUtil.getFessConfig(); final SearchEngineClient client = ComponentUtil.getSearchEngineClient(); final String index = fessConfig.getIndexDocumentUpdateIndex(); final Object url = params.get("url"); if (url == null) { return StringUtil.EMPTY_STRINGS; } final SearchResponse response = client.prepareSearch(index)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java
final String docId = form.docId; try { final QueryBuilder query = QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), docId); searchEngineClient.deleteByQuery(fessConfig.getIndexDocumentUpdateIndex(), query); saveInfo(messages -> messages.addSuccessDeleteDocFromIndex(GLOBAL)); } catch (final Exception e) { logger.warn("Failed to process a request.", e);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 23.1K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/job/PurgeDocJob.java
// clean up final QueryBuilder queryBuilder = QueryBuilders.rangeQuery(fessConfig.getIndexFieldExpires()).to("now"); try { searchEngineClient.deleteByQuery(fessConfig.getIndexDocumentUpdateIndex(), queryBuilder); } catch (final Exception e) { logger.error("Could not delete expired documents: {}", queryBuilder, e); resultBuf.append(e.getMessage()).append("\n"); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java
validate(form, messages -> {}, this::asIndexHtml); verifyToken(this::asIndexHtml); searchEngineClient.flushConfigFiles(() -> { final String docIndex = fessConfig.getIndexDocumentUpdateIndex(); searchEngineClient.admin().indices().prepareClose(docIndex).execute(ActionListener.wrap(res -> { logger.info("Close {}", docIndex); searchEngineClient.admin()
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/job/UpdateLabelJob.java
final StringBuilder resultBuf = new StringBuilder(); try { final long count = searchEngineClient.updateByQuery(fessConfig.getIndexDocumentUpdateIndex(), option -> { if (queryBuilder != null) { option.setQuery(queryBuilder); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
context.skipRoleQuery(); }); return ComponentUtil.getSearchEngineClient() .deleteByQuery(ComponentUtil.getFessConfig().getIndexDocumentUpdateIndex(), queryContext.getQueryBuilder()); } /** * Extracts and normalizes language preferences from request parameters or browser locale. *
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java
// Mock FessConfig FessConfig mockFessConfig = new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @Override public String getIndexDocumentUpdateIndex() { return "fess.update"; } @Override public String getIndexFieldUrl() { return "url"; } @OverrideRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.4K bytes - Viewed (0)