Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getIndexDocumentUpdateIndex (0.15 sec)

  1. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            return searchEngineClient.update(fessConfig.getIndexDocumentUpdateIndex(), id, field, value);
        }
    
        public boolean deleteDocument(final SearchEngineClient searchEngineClient, final String id) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return searchEngineClient.delete(fessConfig.getIndexDocumentUpdateIndex(), id);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  2. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  3. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 09:03:45 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                context.skipRoleQuery();
            });
            return ComponentUtil.getSearchEngineClient().deleteByQuery(ComponentUtil.getFessConfig().getIndexDocumentUpdateIndex(),
                    queryContext.getQueryBuilder());
        }
    
        public String[] getLanguages(final HttpServletRequest request, final SearchRequestParams params) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  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);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. 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 Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jul 22 02:07:37 UTC 2024
    - 21.7K bytes
    - Viewed (0)
Back to top