Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for queryBuilders (0.16 sec)

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

                        (f, b) -> QueryBuilders.wildcardQuery(f, toLowercaseWildcard(text)).boost(b * boost));
            }
    
            if (isSearchField(field)) {
                final String text = wildcardQuery.getTerm().text();
                context.addFieldLog(field, text);
                context.addHighlightedQuery(StringUtils.strip(text, "*"));
                return QueryBuilders.wildcardQuery(field, toLowercaseWildcard(text)).boost(boost);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            return !Strings.isNullOrEmpty(query) && !query.contains(" ") && !query.contains(" ");
        }
    
        protected QueryBuilder buildQuery(final String q, final List<String> fields) {
            try {
                final QueryBuilder queryBuilder;
                if (Strings.isNullOrEmpty(q)) {
                    queryBuilder = QueryBuilders.matchAllQuery();
                } else {
                    final boolean prefixQuery = !q.endsWith(" ") && !q.endsWith(" ");
    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/suggest/index/SuggestIndexer.java

            final SuggestDeleteResponse deleteResponse =
                    deleteByQuery(QueryBuilders.boolQuery().must(QueryBuilders.rangeQuery(FieldNames.QUERY_FREQ).gte(1))
                            .mustNot(QueryBuilders.matchPhraseQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.toString()))
                            .mustNot(QueryBuilders.matchPhraseQuery(FieldNames.KINDS, SuggestItem.Kind.USER.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)
  4. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

                List<QueryBuilder> filterList) {
            assertObjectNotNull("mustList", mustList);
            assertObjectNotNull("shouldList", shouldList);
            assertObjectNotNull("mustNotList", mustNotList);
            assertObjectNotNull("filterList", filterList);
            BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
    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/es/user/allcommon/EsAbstractConditionQuery.java

                List<QueryBuilder> filterList) {
            assertObjectNotNull("mustList", mustList);
            assertObjectNotNull("shouldList", shouldList);
            assertObjectNotNull("mustNotList", mustNotList);
            assertObjectNotNull("filterList", filterList);
            BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
            boolQueryBuilder
                    .must(QueryBuilders.rangeQuery(FieldNames.TIMESTAMP).lt(time.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()));
    
            boolQueryBuilder.must(QueryBuilders.termQuery(FieldNames.KINDS, SuggestItem.Kind.DOCUMENT.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)
  7. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                        if (queryBuilder != null) {
                            boolQuery.must(queryBuilder);
                        }
                        builder.setQuery(boolQuery);
                    }
                } else if (queryBuilder != null) {
                    builder.setQuery(queryBuilder);
                } else {
    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/query/TermRangeQueryCommand.java

                context.addHighlightedQuery(origQuery);
                return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> QueryBuilders.matchPhraseQuery(f, origQuery).boost(b));
            }
    
            context.addFieldLog(field, termRangeQuery.toString(field));
            final RangeQueryBuilder rangeQuery = QueryBuilders.rangeQuery(field);
            final BytesRef min = termRangeQuery.getLowerTerm();
            if (min != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

            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"));
            queryBuilder.must(QueryBuilders.rangeQuery(FieldNames.QUERY_FREQ).gte(queryFreqThreshold));
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

                List<QueryBuilder> filterList) {
            assertObjectNotNull("mustList", mustList);
            assertObjectNotNull("shouldList", shouldList);
            assertObjectNotNull("mustNotList", mustNotList);
            assertObjectNotNull("filterList", filterList);
            BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top