Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getIndexDocumentUpdateIndex (0.3 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

                }
    
                @Override
                public String getIndexFieldExpires() {
                    return "expires";
                }
    
                @Override
                public String getIndexDocumentUpdateIndex() {
                    return "fess.search";
                }
            });
    
            // Fast mock components
            ComponentUtil.register(new CrawlingInfoHelper(), "crawlingInfoHelper");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

            }
    
            @Override
            public String getIndexDocumentSearchIndex() {
                return "fess.search";
            }
    
            @Override
            public String getIndexDocumentUpdateIndex() {
                return "fess.update";
            }
    
            @Override
            public String getIndexFieldDocId() {
                return "doc_id";
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                }
    
                try {
                    final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
                    final String index = fessConfig.getIndexDocumentUpdateIndex();
                    searchEngineClient.admin().indices().prepareRefresh(index).execute().actionGet();
                    final long numOfDeleted = searchEngineClient.deleteByQuery(index, queryBuilder);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

                                            upsertMap.put(fessConfig.getIndexFieldClickCount(), count);
                                            return new UpdateRequest(fessConfig.getIndexDocumentUpdateIndex(), id).script(script)
                                                    .upsert(upsertMap);
                                        }
                                        return null;
                                    })
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 26.3K bytes
    - Viewed (0)
Back to top