Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 80 for QueryBuilder (0.09 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/job/UpdateLabelJob.java

                resultBuf.append(e.getMessage()).append("\n");
            }
    
            return resultBuf.toString();
        }
    
        public UpdateLabelJob query(final QueryBuilder queryBuilder) {
            this.queryBuilder = queryBuilder;
            return this;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/entity/QueryContext.java

                builder = QueryBuilders.boolQuery().must(queryBuilder);
            }
            boolQuery.accept(builder);
            if (builder.hasClauses()) {
                queryBuilder = builder;
            }
        }
    
        public void setQueryBuilder(final QueryBuilder queryBuilder) {
            this.queryBuilder = queryBuilder;
        }
    
        public void addSorts(final SortBuilder<?>... sortBuilders) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

        //                                                                               =====
        public void addQuery(QueryBuilder queryBuilder) {
            assertObjectNotNull("queryBuilder", queryBuilder);
            regQ(queryBuilder);
        }
    
        public void queryString(String queryString) {
            checkEsInvalidQuery("queryString", queryString);
            doQueryString(queryString, null);
        }
    
    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/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

                    return oldDocList;
                }
    
                @Override
                public long deleteByQuery(final String index, final QueryBuilder queryBuilder) {
                    if (queryBuilder instanceof final TermsQueryBuilder termsQueryBuilder) {
                        termsQueryBuilder.values().stream().forEach(o -> deletedDocIdList.add(o.toString()));
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jul 24 08:54:24 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java

    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.lastaflute.core.message.UserMessages;
    import org.opensearch.index.query.QueryBuilder;
    import org.opensearch.index.query.QueryBuilders;
    
    public class WildcardQueryCommand extends QueryCommand {
        private static final Logger logger = LogManager.getLogger(WildcardQueryCommand.class);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                    final QueryBuilder expiresCheckQuery = QueryBuilders.boolQuery()//
                            .mustNot(QueryBuilders.rangeQuery(fessConfig.getIndexFieldExpires()).gt("now"))//
                            .mustNot(QueryBuilders.existsQuery(fessConfig.getIndexFieldExpires()));
                    queryBuilder.must(expiresCheckQuery);
                }
    
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                            .responseFields(new String[] { fessConfig.getIndexFieldDocId() }).build());
        }
    
        protected Map<String, List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>>> getQueryMap(final String key) {
            final Map<String, List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>>> map = keyMatchQueryMap.get(key);
            if (map != null) {
                return map;
            }
            return Collections.emptyMap();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

                final Integer size, final SortBuilder<?>... sortBuilders) {
            return getList(clazz, builder -> {
                if (StringUtil.isNotBlank(sessionId)) {
                    if (queryBuilder instanceof BoolQueryBuilder) {
                        ((BoolQueryBuilder) queryBuilder).filter(QueryBuilders.termQuery(SESSION_ID, sessionId));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

      static {
        ImmutableList.Builder<Range<Integer>> queryBuilder = ImmutableList.builder();
    
        queryBuilder.add(Range.<Integer>all());
    
        for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
          for (BoundType boundType : BoundType.values()) {
            queryBuilder.add(Range.upTo(i, boundType));
            queryBuilder.add(Range.downTo(i, boundType));
          }
          queryBuilder.add(Range.singleton(i));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top