Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for deleteByQuery (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
Back to top