Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for delete$document (0.1 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/suggest/ApiAdminSuggestAction.java

            }
            return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result());
        }
    
        // DELETE /api/admin/suggest/document
        @Execute
        public JsonResponse<ApiResult> delete$document() {
            if (!suggestHelper.deleteDocumentWords()) {
                throwValidationErrorApi(messages -> messages.addErrorsFailedToDeleteDocInAdmin(GLOBAL));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

        }
    
        public boolean deleteDocumentWords() {
            final SuggestDeleteResponse response = suggester.indexer().deleteDocumentWords();
            if (response.hasError()) {
                logger.warn("Failed to delete document words.", response.getErrors().get(0));
                return false;
            }
            refresh();
            return true;
        }
    
        public boolean deleteQueryWords() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  3. src/main/resources/fess_message_ru.properties

    errors.invalid_confirm_password=Confirm Password does not match.
    errors.cannot_delete_doc_because_of_running=Crawler is running. The document cannot be deleted.
    errors.failed_to_delete_doc_in_admin=Failed to delete document.
    errors.failed_to_send_testmail=Failed to send the test mail.
    errors.could_not_find_backup_index=Could not find index for backup.
    errors.no_user_for_changing_password=The current password is incorrect.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri May 20 12:12:28 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  4. src/main/resources/fess_message.properties

    errors.invalid_confirm_password=Confirm Password does not match.
    errors.cannot_delete_doc_because_of_running=Crawler is running. The document cannot be deleted.
    errors.failed_to_delete_doc_in_admin=Failed to delete document.
    errors.failed_to_send_testmail=Failed to send the test mail.
    errors.could_not_find_backup_index=Could not find index for backup.
    errors.no_user_for_changing_password=The current password is incorrect.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Mar 18 03:05:44 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  5. src/main/resources/fess_message_en.properties

    errors.invalid_confirm_password=Confirm Password does not match.
    errors.cannot_delete_doc_because_of_running=Crawler is running. The document cannot be deleted.
    errors.failed_to_delete_doc_in_admin=Failed to delete document.
    errors.failed_to_send_testmail=Failed to send the test mail.
    errors.could_not_find_backup_index=Could not find index for backup.
    errors.no_user_for_changing_password=The current password is incorrect.
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Mar 18 03:05:44 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/mylasta/action/FessMessages.java

        public static final String ERRORS_cannot_delete_doc_because_of_running = "{errors.cannot_delete_doc_because_of_running}";
    
        /** The key of the message: Failed to delete document. */
        public static final String ERRORS_failed_to_delete_doc_in_admin = "{errors.failed_to_delete_doc_in_admin}";
    
        /** The key of the message: Failed to send the test mail. */
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                }
            } finally {
                executor.shutdownNow();
            }
    
            if (!deleteUrlList.isEmpty()) {
                deleteDocuments();
            }
            indexUpdateCallback.commit();
        }
    
        protected void deleteDocuments() {
            final SearchEngineClient searchEngineClient = ComponentUtil.getSearchEngineClient();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                        final Object idValue = document.get(fessConfig.getIndexFieldId());
                        if (idValue != null && !indexingHelper.deleteDocument(searchEngineClient, idValue.toString())) {
                            logger.debug("Failed to delete expired document: {}", url);
                        }
                        return true;
                    }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/CrawlTestBase.java

        protected static Response deleteMethod(final String path) {
            return given().contentType("application/json").header("Authorization", getTestToken()).delete(path);
        }
    
        protected static void deleteDocuments(final String queryString) {
            List<String> docIds = new ArrayList<>();
            Response response = given().contentType("application/json").param("scroll", "1m").param("q", queryString)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            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)
Back to top