- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for boolQuery (0.08 sec)
-
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
if (!kinds.isEmpty()) { filterList.add(buildFilterQuery(FieldNames.KINDS, kinds)); } if (filterList.size() > 0) { final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery(); boolQueryBuilder.must(queryBuilder); filterList.forEach(boolQueryBuilder::filter); builder.setQuery(boolQueryBuilder); } else { builder.setQuery(queryBuilder);
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SearchHelper.java
return ComponentUtil.getSearchEngineClient().getDocument(fessConfig.getIndexDocumentSearchIndex(), builder -> { final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery().must(QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), docId)); final Set<String> roleSet = ComponentUtil.getRoleQueryHelper().build(SearchRequestType.JSON); // TODO SearchRequestType?
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/query/QueryCommand.java
} final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery(); final String minimumShouldMatch = fessConfig.getQueryBoolMinimumShouldMatch(); if (StringUtil.isNotBlank(minimumShouldMatch)) { boolQuery.minimumShouldMatch(minimumShouldMatch); } return new DefaultQueryBuilder(boolQuery); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 6.5K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 23.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
} public void addQuery(final Consumer<BoolQueryBuilder> boolQuery) { BoolQueryBuilder builder; if (queryBuilder instanceof MatchAllQueryBuilder) { builder = QueryBuilders.boolQuery(); } else { builder = QueryBuilders.boolQuery().must(queryBuilder); } boolQuery.accept(builder); if (builder.hasClauses()) { queryBuilder = builder;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 5.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
success.accept(true); }).error(t -> error.accept(t)); } public void purgeDocumentSuggest(final LocalDateTime time) { final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery(); boolQueryBuilder .must(QueryBuilders.rangeQuery(FieldNames.TIMESTAMP).lt(time.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java
public SuggestDeleteResponse deleteDocumentWords() { final long start = System.currentTimeMillis(); final SuggestDeleteResponse deleteResponse = deleteByQuery(QueryBuilders.boolQuery().must(QueryBuilders.rangeQuery(FieldNames.DOC_FREQ).gte(1)) .mustNot(QueryBuilders.matchPhraseQuery(FieldNames.KINDS, SuggestItem.Kind.QUERY.toString()))
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 26.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java
} @Override protected String getValidationError() { return null; } protected QueryBuilder buildQuery() { final BoolQueryBuilder queryBuilder = QueryBuilders.boolQuery(); queryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.QUERY.toString())); queryBuilder.mustNot(QueryBuilders.existsQuery(FieldNames.READING_PREFIX + "1"));
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 7K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
SearchResponse response = getClient().get(c -> c.prepareSearch(index).setScroll(new TimeValue(scrollTimeout)) .setQuery(QueryBuilders.boolQuery().filter(QueryBuilders.termQuery(SESSION_ID, sessionId))).setSize(scrollSize).execute()); String scrollId = response.getScrollId(); try { while (scrollId != null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 8.5K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
SearchResponse response = getClient().get(c -> c.prepareSearch(index).setScroll(new TimeValue(scrollTimeout)) .setQuery(QueryBuilders.boolQuery().filter(QueryBuilders.termQuery(SESSION_ID, oldSessionId))).setSize(scrollSize) .execute()); String scrollId = response.getScrollId(); try { while (scrollId != null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 13.4K bytes - Viewed (0)