Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for termsQuery (0.07 sec)

  1. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

            } else {
                queryBuilder.must(QueryBuilders.termQuery(FieldNames.ROLES, SuggestConstants.DEFAULT_ROLE));
            }
            if (!fields.isEmpty()) {
                queryBuilder.must(QueryBuilders.termsQuery(FieldNames.FIELDS, fields));
            }
            if (!languages.isEmpty()) {
                queryBuilder.must(QueryBuilders.termsQuery(FieldNames.LANGUAGES, languages));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/IndexingHelper.java

                    continue;
                }
    
                final QueryBuilder queryBuilder = QueryBuilders.boolQuery()
                        .must(QueryBuilders.termQuery(fessConfig.getIndexFieldUrl(), inputDoc.get(fessConfig.getIndexFieldUrl())))
                        .filter(QueryBuilders.termQuery(fessConfig.getIndexFieldConfigId(), configIdValue));
    
                final List<Map<String, Object>> docs = getDocumentListByQuery(searchEngineClient, queryBuilder,
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                final BoolQueryBuilder boolQuery =
                        QueryBuilders.boolQuery().must(QueryBuilders.termsQuery(fessConfig.getIndexFieldDocId(), docIds));
                final QueryHelper queryHelper = ComponentUtil.getQueryHelper();
                if (searchRequestType != SearchRequestType.ADMIN_SEARCH) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    searchEngineClient.getDocumentList(fessConfig.getIndexDocumentSearchIndex(), searchRequestBuilder -> {
                        searchRequestBuilder.setQuery(
                                QueryBuilders.termsQuery(docIdField, deleteFileMap.keySet().toArray(new String[deleteFileMap.size()])));
                        searchRequestBuilder.setFetchSource(new String[] { docIdField }, StringUtil.EMPTY_STRINGS);
                        return true;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                    final QueryBuilder queryBuilder =
                            QueryBuilders.boolQuery().filter(QueryBuilders.termsQuery(EsAccessResult.SESSION_ID, sessionIdList))
                                    .filter(QueryBuilders.termQuery(EsAccessResult.STATUS, org.codelibs.fess.crawler.Constants.OK_STATUS));
                    builder.setQuery(queryBuilder);
                    builder.setFrom(0);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/util/SuggestUtil.java

                                queryList.add(termQuery);
                            }
                        }
                    }
                }
                return queryList;
            }
            if (query instanceof final TermQuery termQuery) {
                for (final String field : fields) {
                    if (field.equals(termQuery.getTerm().field())) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            boolQueryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.toString()));
            boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.QUERY.toString()));
            boolQueryBuilder.mustNot(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.USER.toString()));
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

            }
            throw new InvalidQueryException(messages -> messages.addErrorsInvalidQueryUnknown(UserMessages.GLOBAL_PROPERTY_KEY),
                    "Unknown q: " + query.getClass() + " => " + query);
        }
    
        protected QueryBuilder convertTermQuery(final QueryContext context, final TermQuery termQuery, final float boost) {
            final String field = getSearchField(context.getDefaultField(), termQuery.getTerm().field());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            assertTrue(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "sessionId")).setSize(0)
                    .execute().actionGet().getHits().getTotalHits().value > 0);
    
            urlQueueService.delete("sessionId");
            assertFalse(fesenClient.prepareSearch("fess_crawler.queue").setQuery(QueryBuilders.termQuery("sessionId", "sessionId")).setSize(0)
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

                                readingQueryBuilder.should(QueryBuilders.prefixQuery(fieldName, reading));
                            } else {
                                readingQueryBuilder.should(QueryBuilders.termQuery(fieldName, reading));
                            }
                        }
                        readingList.clear();
                        boolQueryBuilder.must(readingQueryBuilder);
                    }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
Back to top