- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for QueryBuilder (0.13 sec)
-
src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java
this.queryBuilder = queryBuilder; if (queryBuilder instanceof BoolQueryBuilder) { queryType = QueryType.BOOL; } else if (queryBuilder instanceof DisMaxQueryBuilder) { queryType = QueryType.DISMAX; } else { throw new IllegalArgumentException("Unknown query builder: " + queryBuilder); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/request/suggest/SuggestRequest.java
} // set query. final QueryBuilder q = buildQuery(query, fields); // set function score final QueryBuilder queryBuilder = buildFunctionScoreQuery(query, q); builder.addSort("_score", SortOrder.DESC); // set filter query. final List<QueryBuilder> filterList = new ArrayList<>(10); if (!tags.isEmpty()) {
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Sat Oct 12 00:10:39 UTC 2024 - 13.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermQueryCommand.java
} protected QueryBuilder convertPrefixQuery(final FessConfig fessConfig, final QueryContext context, final TermQuery termQuery, final float boost, final String field, final String text) { return getQueryProcessor().execute(context, new PrefixQuery(new Term(field, text.substring(0, text.length() - 1))), boost); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.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; import org.opensearch.index.query.RangeQueryBuilder; public class TermRangeQueryCommand extends QueryCommand {
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/helper/IndexingHelper.java
final FessConfig fessConfig = ComponentUtil.getFessConfig(); return deleteDocumentByQuery(searchEngineClient, fessConfig.getIndexDocumentUpdateIndex(), queryBuilder); } protected long deleteDocumentByQuery(final SearchEngineClient searchEngineClient, final String index, final QueryBuilder queryBuilder) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.8K bytes - Viewed (0) -
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) -
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) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Wed Jul 24 08:54:24 UTC 2024 - 23.4K bytes - Viewed (0) -
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) -
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)