- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for deleteByQuery (0.13 sec)
-
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/helper/SuggestHelper.java
boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.USER.toString())); SuggestUtil.deleteByQuery(ComponentUtil.getSearchEngineClient(), suggester.settings(), suggester.getIndex(), boolQueryBuilder); } public void purgeSearchlogSuggest(final LocalDateTime time) {
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/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) -
src/main/java/org/codelibs/fess/app/web/api/admin/searchlist/ApiAdminSearchlistAction.java
public JsonResponse<ApiResult> delete$doc(final String id) { try { final QueryBuilder query = QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), id); searchEngineClient.deleteByQuery(fessConfig.getIndexDocumentUpdateIndex(), query); saveInfo(messages -> messages.addSuccessDeleteDocFromIndex(GLOBAL)); } catch (final Exception e) {
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/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) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jul 24 09:03:45 UTC 2024 - 18.3K bytes - Viewed (0)