- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for deleteByQuery (0.12 sec)
-
src/main/java/org/codelibs/fess/helper/SearchHelper.java
docMap.put(fessConfig.getIndexFieldPrimaryTerm(), hit.getPrimaryTerm()); return docMap; }, cursor); } public long deleteByQuery(final HttpServletRequest request, final SearchRequestParams params) { final String query = ComponentUtil.getQueryStringBuilder().params(params).build();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 19.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java
return (List<String>) value; } throw new IllegalArgumentException("The value should be String or List, but " + value.getClass()); } public static boolean deleteByQuery(final Client client, final SuggestSettings settings, final String index, final QueryBuilder queryBuilder) { try {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 11.7K 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 Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12K 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 Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 10.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/client/FesenClient.java
} @Override public Client filterWithHeader(final Map<String, String> headers) { client.filterWithHeader(headers); return this; } public int deleteByQuery(final String index, final String type, final QueryBuilder queryBuilder) { SearchResponse response =
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 19.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java
scrollId = response.getScrollId(); } } finally { deleteScrollContext(scrollId); } return count; } public long deleteByQuery(final String index, final QueryBuilder queryBuilder) { final FessConfig fessConfig = ComponentUtil.getFessConfig();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Oct 20 02:08:03 UTC 2024 - 86.1K bytes - Viewed (0)