- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for rangeQuery (0.05 sec)
-
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) -
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) -
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) -
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) -
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)