- Sort Score
- Result 10 results
- Languages All
Results 11 - 19 of 19 for deleteByQuery (0.18 sec)
-
src/main/java/org/codelibs/fess/suggest/index/writer/SuggestWriter.java
* @param queryBuilder the query that defines which documents to delete * @return a result object containing information about the delete operation */ SuggestWriterResult deleteByQuery(Client client, SuggestSettings settings, String index, QueryBuilder queryBuilder); /** * Merges an array of SuggestItem objects by combining items with the same ID. *
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 4.1K 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 Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 23.1K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
/* No-op */ } } private static class FastMockSearchEngineClient extends SearchEngineClient { @Override public long deleteByQuery(String index, QueryBuilder queryBuilder) { return 0L; } } private static class FastMockDataConfigBhv extends DataConfigBhv { // Minimal implementation }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 12.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
* * @param request The HTTP servlet request * @param params The search request parameters to identify documents to delete * @return Number of documents deleted */ public long deleteByQuery(final HttpServletRequest request, final SearchRequestParams params) { final String query = ComponentUtil.getQueryStringBuilder().params(params).build();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 35.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java
protected void deleteKeyFromArray(final String index, final String type, final String key) { final String actualIndex = index + "." + type.toLowerCase(Locale.ENGLISH); try { SuggestUtil.deleteByQuery(client, settings, actualIndex, QueryBuilders.termQuery(FieldNames.ARRAY_KEY, key)); } catch (final Exception e) { throw new SuggestSettingsException("Failed to delete all from array.", e); }
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 15.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
* @return true if the operation completes successfully * @throws SuggesterException if any error occurs during the delete operation */ public static boolean deleteByQuery(final Client client, final SuggestSettings settings, final String index, final QueryBuilder queryBuilder) { try { SearchResponse response = client.prepareSearch(index)
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 17.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/DataIndexHelper.java
searchEngineClient.admin().indices().prepareRefresh(index).execute().actionGet(); final long numOfDeleted = searchEngineClient.deleteByQuery(index, queryBuilder); logger.info("Deleted {} old docs.", numOfDeleted); } catch (final Exception e) { logger.error("Could not delete old docs at {}", dataConfig, e);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
* @param queryBuilder The query to match documents for deletion. * @return The number of deleted documents. * @throws OpenSearchAccessException if the deletion fails. */ public int deleteByQuery(final String index, final String type, final QueryBuilder queryBuilder) { SearchResponse response =
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Aug 31 05:32:52 UTC 2025 - 25.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java
* * @param index the index name * @param queryBuilder the query to match documents for deletion * @return the number of documents deleted */ public long deleteByQuery(final String index, final QueryBuilder queryBuilder) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); SearchResponse response = client.prepareSearch(index)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sun Aug 31 08:19:00 UTC 2025 - 121.9K bytes - Viewed (0)