Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for delete$query (0.07 sec)

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