Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for boolQuery (0.12 sec)

  1. src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java

                        boolQuery.should(queryBuilder);
                        break;
                    case MUST_NOT:
                        boolQuery.mustNot(queryBuilder);
                        break;
                    default:
                        break;
                    }
                }
            }
            if (boolQuery.hasClauses()) {
                return boolQuery;
            }
            return null;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/fess/entity/GeoInfo.java

                if (list.size() == 1) {
                    return list.get(0);
                }
                if (list.size() > 1) {
                    final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
                    list.forEach(boolQuery::should);
                    return boolQuery;
                }
                return null;
            }).filter(q -> q != null).toArray(n -> new QueryBuilder[n]);
    
            if (queryBuilders.length == 1) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                    }).forEach(docId -> {
                        boolQuery.should(QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), docId));
                    });
    
                    if (boolQuery.hasClauses()) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Loaded KeyMatch Boost Query: {}", boolQuery);
                        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top