Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for rangeQuery (0.06 sec)

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

            final RangeQueryBuilder rangeQuery = QueryBuilders.rangeQuery(field);
            final BytesRef min = termRangeQuery.getLowerTerm();
            if (min != null) {
                if (termRangeQuery.includesLower()) {
                    rangeQuery.gte(min.utf8ToString());
                } else {
                    rangeQuery.gt(min.utf8ToString());
                }
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            final long start = System.currentTimeMillis();
    
            final SuggestDeleteResponse deleteResponse =
                    deleteByQuery(QueryBuilders.boolQuery().must(QueryBuilders.rangeQuery(FieldNames.DOC_FREQ).gte(1))
                            .mustNot(QueryBuilders.matchPhraseQuery(FieldNames.KINDS, SuggestItem.Kind.QUERY.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)
  3. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            searchLogBhv.selectBulk(cb -> {
                final String from = LocalDateTime.now().minusDays(fessConfig.getPurgeSuggestSearchLogDay()).format(DateTimeFormatter.ISO_DATE);
                cb.query().addQuery(QueryBuilders.rangeQuery("requestedAt").gte(from));
                cb.query().addOrderBy_RequestedAt_Asc();
                cb.specify().columnAccessType();
                cb.specify().columnUserSessionId();
                cb.specify().columnHitCount();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/PurgeDocJob.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            final StringBuilder resultBuf = new StringBuilder();
    
            // clean up
            final QueryBuilder queryBuilder = QueryBuilders.rangeQuery(fessConfig.getIndexFieldExpires()).to("now");
            try {
                searchEngineClient.deleteByQuery(fessConfig.getIndexDocumentUpdateIndex(), queryBuilder);
    
            } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/Suggester.java

            return getNum(QueryBuilders.matchAllQuery());
        }
    
        public long getDocumentWordsNum() {
            return getNum(QueryBuilders.rangeQuery(FieldNames.DOC_FREQ).gte(1));
        }
    
        public long getQueryWordsNum() {
            return getNum(QueryBuilders.rangeQuery(FieldNames.QUERY_FREQ).gte(1));
        }
    
        private long getNum(final QueryBuilder queryBuilder) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequest.java

            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));
            if (!tags.isEmpty()) {
                queryBuilder.must(QueryBuilders.termsQuery(FieldNames.TAGS, tags));
            }
            if (!roles.isEmpty()) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/DataIndexHelper.java

                if (!Constants.FALSE.equals(initParamMap.getAsString(KEEP_EXPIRES_DOCS))) {
                    final QueryBuilder expiresCheckQuery = QueryBuilders.boolQuery()//
                            .mustNot(QueryBuilders.rangeQuery(fessConfig.getIndexFieldExpires()).gt("now"))//
                            .mustNot(QueryBuilders.existsQuery(fessConfig.getIndexFieldExpires()));
                    queryBuilder.must(expiresCheckQuery);
                }
    
    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/es/log/allcommon/EsAbstractConditionQuery.java

                            return rangeQueryBuilder;
                        }
                    }
                }
            }
            RangeQueryBuilder rangeQueryBuilder = QueryBuilders.rangeQuery(name);
            addRangeC(rangeQueryBuilder, ck, value);
            regQ(rangeQueryBuilder);
            return rangeQueryBuilder;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java

                            return rangeQueryBuilder;
                        }
                    }
                }
            }
            RangeQueryBuilder rangeQueryBuilder = QueryBuilders.rangeQuery(name);
            addRangeC(rangeQueryBuilder, ck, value);
            regQ(rangeQueryBuilder);
            return rangeQueryBuilder;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

                            return rangeQueryBuilder;
                        }
                    }
                }
            }
            RangeQueryBuilder rangeQueryBuilder = QueryBuilders.rangeQuery(name);
            addRangeC(rangeQueryBuilder, ck, value);
            regQ(rangeQueryBuilder);
            return rangeQueryBuilder;
        }
    
    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