- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for delete$query (0.08 sec)
-
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/query @Execute public JsonResponse<ApiResult> delete$query() { if (!suggestHelper.deleteQueryWords()) { 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) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
} public boolean deleteQueryWords() { final SuggestDeleteResponse response = suggester.indexer().deleteQueryWords(); if (response.hasError()) { logger.warn("Failed to delete query words.", response.getErrors().get(0)); return false; } refresh(); return true; } public void storeAllElevateWords(final boolean apply) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java
@Execute public JsonResponse<ApiResult> delete$query(final SearchBody body) { validateApi(body, messages -> {}); if (StringUtil.isBlank(body.q)) { throwValidationErrorApi(messages -> messages.addErrorsInvalidQueryUnknown(GLOBAL)); } try { final long count = searchHelper.deleteByQuery(request, body);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jul 24 09:03:45 UTC 2024 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
} public SuggestDeleteResponse deleteByQuery(final String queryString) { return deleteByQuery(QueryBuilders.queryStringQuery(queryString).defaultOperator(Operator.AND)); } public SuggestDeleteResponse deleteByQuery(final QueryBuilder queryBuilder) { final long start = System.currentTimeMillis(); final SuggestWriterResult result = suggestWriter.deleteByQuery(client, settings, index, queryBuilder);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java
} return result; } @Override public SuggestWriterResult deleteByQuery(final Client client, final SuggestSettings settings, final String index, final QueryBuilder queryBuilder) { final SuggestWriterResult result = new SuggestWriterResult(); try { SuggestUtil.deleteByQuery(client, settings, index, queryBuilder); } catch (final Exception e) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestBulkFileWriter.java
throw new UnsupportedOperationException("not yet."); } @Override public SuggestWriterResult deleteByQuery(final Client client, final SuggestSettings settings, final String index, final QueryBuilder queryBuilder) { throw new UnsupportedOperationException("deleteByQuery is unsupported."); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
return oldDocList; } @Override public long deleteByQuery(final String index, final QueryBuilder queryBuilder) { if (queryBuilder instanceof final TermsQueryBuilder termsQueryBuilder) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jul 24 08:54:24 UTC 2024 - 23.4K bytes - Viewed (0) -
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);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java
SuggestWriterResult delete(Client client, SuggestSettings settings, String index, String id); SuggestWriterResult deleteByQuery(Client client, SuggestSettings settings, String index, QueryBuilder queryBuilder); default SuggestItem[] mergeItems(final SuggestItem[] items) { final Set<String> mergedIdSet = new HashSet<>();
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
} protected long deleteDocumentByQuery(final SearchEngineClient searchEngineClient, final String index, final QueryBuilder queryBuilder) { return searchEngineClient.deleteByQuery(index, queryBuilder); } public Map<String, Object> getDocument(final SearchEngineClient searchEngineClient, final String id, final String[] fields) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.8K bytes - Viewed (0)