Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for matchAllQuery (0.1 sec)

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

        public QueryBuilder execute(final QueryContext context, final Query query, final float boost) {
            if (logger.isDebugEnabled()) {
                logger.debug("{}:{}", query, boost);
            }
            return QueryBuilders.matchAllQuery();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/query/DefaultQueryBuilderTest.java

                fail();
            } catch (IllegalArgumentException e) {
                // nothing
            }
        }
    
        public void test_invalid_query() {
            try {
                new DefaultQueryBuilder(QueryBuilders.matchAllQuery());
                fail();
            } catch (IllegalArgumentException e) {
                // nothing
            }
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

        protected final String[] supportedFields;
    
        protected int scrollSize = 1;
        protected int maxRetryCount = 5;
        protected long limitOfDocumentSize = 50000;
        protected QueryBuilder queryBuilder = QueryBuilders.matchAllQuery();
        protected int limitPercentage = 100;
        protected long limitNumber = -1;
        protected List<SortBuilder<?>> sortList = new ArrayList<>();
    
        protected String scrollId = null;
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                    }
                } else if (queryBuilder != null) {
                    builder.setQuery(queryBuilder);
                } else {
                    builder.setQuery(QueryBuilders.matchAllQuery());
                }
                if (sortBuilders != null) {
                    for (SortBuilder<?> sortBuilder : sortBuilders) {
                        builder.addSort(sortBuilder);
                    }
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return searchEngineClient.search(fessConfig.getIndexDocumentSearchIndex(), queryRequestBuilder -> {
                queryRequestBuilder.setQuery(QueryBuilders.matchAllQuery());
                final TermsAggregationBuilder termsBuilder = AggregationBuilders.terms(fessConfig.getIndexFieldSegment())
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java

            try {
                final QueryBuilder queryBuilder;
                if (Strings.isNullOrEmpty(q)) {
                    queryBuilder = QueryBuilders.matchAllQuery();
                } else {
                    final boolean prefixQuery = !q.endsWith(" ") && !q.endsWith(" ");
                    List<String> readingList = new ArrayList<>();
    
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/QueryHelper.java

                if (queryBuilder != null) {
                    queryContext.setQueryBuilder(queryBuilder);
                } else {
                    queryContext.setQueryBuilder(QueryBuilders.matchAllQuery());
                }
                // TODO options query
                context.accept(queryContext);
            } catch (final QueryParseException e) {
    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/SuggestHelper.java

                        .seed(ComponentUtil.getSystemHelper().getCurrentTimeAsLong()).setField(fessConfig.getIndexFieldDocId())));
                reader.setQuery(QueryBuilders
                        .functionScoreQuery(QueryBuilders.matchAllQuery(),
                                flist.toArray(new FunctionScoreQueryBuilder.FilterFunctionBuilder[flist.size()]))
                        .boostMode(CombineFunction.MULTIPLY));
    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/main/java/org/codelibs/fess/suggest/Suggester.java

                    suggestSettings, threadPool);
        }
    
        public String getIndex() {
            return index;
        }
    
        public long getAllWordsNum() {
            return getNum(QueryBuilders.matchAllQuery());
        }
    
        public long getDocumentWordsNum() {
            return getNum(QueryBuilders.rangeQuery(FieldNames.DOC_FREQ).gte(1));
        }
    
        public long getQueryWordsNum() {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

            doMatchAll(opLambda);
        }
    
        protected void doMatchAll(ConditionOptionCall<MatchAllQueryBuilder> opLambda) {
            MatchAllQueryBuilder builder = QueryBuilders.matchAllQuery();
            regQ(builder);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        // ===================================================================================
    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