Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for boolQuery (0.09 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

            assertObjectNotNull("filterList", filterList);
            BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
            mustList.forEach(query -> {
                boolQuery.must(query);
            });
            shouldList.forEach(query -> {
                boolQuery.should(query);
            });
            mustNotList.forEach(query -> {
                boolQuery.mustNot(query);
            });
            filterList.forEach(query -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

            assertObjectNotNull("filterList", filterList);
            BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
            mustList.forEach(query -> {
                boolQuery.must(query);
            });
            shouldList.forEach(query -> {
                boolQuery.should(query);
            });
            mustNotList.forEach(query -> {
                boolQuery.mustNot(query);
            });
            filterList.forEach(query -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

            assertObjectNotNull("filterList", filterList);
            BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
            mustList.forEach(query -> {
                boolQuery.must(query);
            });
            shouldList.forEach(query -> {
                boolQuery.should(query);
            });
            mustNotList.forEach(query -> {
                boolQuery.mustNot(query);
            });
            filterList.forEach(query -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/QueryHelper.java

                if (!roleSet.isEmpty()) {
                    queryContext.addQuery(boolQuery -> buildRoleQuery(roleSet, boolQuery));
                }
            }
        }
    
        public void buildRoleQuery(final Set<String> roleSet, final BoolQueryBuilder boolQuery) {
            final BoolQueryBuilder roleQuery = QueryBuilders.boolQuery();
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. 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)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                    } else {
                        final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery().filter(QueryBuilders.termQuery(SESSION_ID, sessionId));
                        if (queryBuilder != null) {
                            boolQuery.must(queryBuilder);
                        }
                        builder.setQuery(boolQuery);
                    }
                } else if (queryBuilder != null) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  8. 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)
  9. src/test/java/org/codelibs/fess/helper/QueryHelperTest.java

            BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
            for (QueryBuilder query : queries) {
                boolQuery.must(query);
            }
            return boolQuery;
        }
    
        private QueryBuilder orQuery(QueryBuilder... queries) {
            BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
            for (QueryBuilder query : queries) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                    return;
                }
                final FessConfig fessConfig = ComponentUtil.getFessConfig();
                final BoolQueryBuilder queryBuilder = QueryBuilders.boolQuery()//
                        .must(QueryBuilders.termQuery(fessConfig.getIndexFieldConfigId(), dataConfig.getConfigId()))//
                        .mustNot(QueryBuilders.termQuery(fessConfig.getIndexFieldSegment(), sessionId));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top