- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 93 for queryBuilders (0.09 sec)
-
src/main/java/org/codelibs/fess/helper/QueryHelper.java
final QueryBuilder queryBuilder = ComponentUtil.getQueryProcessor().execute(queryContext, query, 1.0f); if (queryBuilder != null) { queryContext.setQueryBuilder(queryBuilder); } else { queryContext.setQueryBuilder(QueryBuilders.matchAllQuery()); } // TODO options query
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 11.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/QueryContext.java
} 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) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
SearchResponse response = getClient().get(c -> c.prepareSearch(index).setScroll(new TimeValue(scrollTimeout)) .setQuery(QueryBuilders.boolQuery().filter(QueryBuilders.termQuery(SESSION_ID, sessionId))).setSize(scrollSize).execute()); String scrollId = response.getScrollId(); try { while (scrollId != null) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 8.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/QueryProcessorTest.java
called.set(true); return QueryBuilders.boolQuery(); }; } }; queryProcessor.init(); QueryContext context = new QueryContext(null, false); MatchAllDocsQuery query = new MatchAllDocsQuery(); QueryBuilder queryBuilder = queryProcessor.execute(context, query, 1.0f); assertTrue(called.get());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
.should(QueryBuilders.fuzzyQuery("content", query).boost(0.005f).maxExpansions(10))// ; } private QueryBuilder functionScoreQuery(QueryBuilder queryBuilder) { return QueryBuilders.functionScoreQuery(queryBuilder, ScoreFunctionBuilders.fieldValueFactorFunction("boost")); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 11 08:26:36 UTC 2024 - 39.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/MatchAllQueryCommand.java
import org.apache.lucene.search.MatchAllDocsQuery; import org.apache.lucene.search.Query; import org.codelibs.fess.entity.QueryContext; import org.opensearch.index.query.QueryBuilder; import org.opensearch.index.query.QueryBuilders; public class MatchAllQueryCommand extends QueryCommand { private static final Logger logger = LogManager.getLogger(MatchAllQueryCommand.class); @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 1.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/BooleanQueryCommand.java
} protected QueryBuilder convertBooleanQuery(final QueryContext context, final BooleanQuery booleanQuery, final float boost) { final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery(); for (final BooleanClause clause : booleanQuery.clauses()) { final QueryBuilder queryBuilder = getQueryProcessor().execute(context, clause.getQuery(), boost);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java
import org.codelibs.fess.util.ComponentUtil; import org.codelibs.fess.util.DocumentUtil; import org.opensearch.index.query.BoolQueryBuilder; import org.opensearch.index.query.QueryBuilder; import org.opensearch.index.query.QueryBuilders; import org.opensearch.index.query.functionscore.FunctionScoreQueryBuilder.FilterFunctionBuilder; import org.opensearch.index.query.functionscore.ScoreFunctionBuilder;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 8.2K 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/helper/SearchHelper.java
return ComponentUtil.getSearchEngineClient().getDocument(fessConfig.getIndexDocumentSearchIndex(), builder -> { final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery().must(QueryBuilders.termQuery(fessConfig.getIndexFieldDocId(), docId)); final Set<String> roleSet = ComponentUtil.getRoleQueryHelper().build(SearchRequestType.JSON); // TODO SearchRequestType?
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 19.1K bytes - Viewed (0)