- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 76 for queryBuilders (0.09 sec)
-
src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java
import org.codelibs.fess.util.ComponentUtil; import org.lastaflute.core.message.UserMessages; import org.opensearch.common.unit.Fuzziness; import org.opensearch.index.query.QueryBuilder; import org.opensearch.index.query.QueryBuilders; public class FuzzyQueryCommand extends QueryCommand { private static final Logger logger = LogManager.getLogger(FuzzyQueryCommand.class); @Override
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/entity/GeoInfo.java
return null; }).filter(q -> q != null).toArray(n -> new QueryBuilder[n]); if (queryBuilders.length == 1) { builder = queryBuilders[0]; } else if (queryBuilders.length > 1) { final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery(); StreamUtil.stream(queryBuilders).of(stream -> stream.forEach(boolQuery::must)); builder = boolQuery; } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 4.7K bytes - Viewed (0) -
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/test/java/org/codelibs/fess/query/DefaultQueryBuilderTest.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.query; import org.codelibs.fess.unit.UnitFessTestCase; import org.opensearch.index.query.QueryBuilders; public class DefaultQueryBuilderTest extends UnitFessTestCase { public void test_invalid_null() { try { new DefaultQueryBuilder(null); fail();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 11 08:26:36 UTC 2024 - 1.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IndexingHelper.java
final QueryBuilder queryBuilder = QueryBuilders.termQuery(fessConfig.getIndexFieldVirtualHost(), virtualHost); return deleteByQueryBuilder(searchEngineClient, index, queryBuilder); } protected long deleteByQueryBuilder(final SearchEngineClient searchEngineClient, final String index, final QueryBuilder queryBuilder) { refreshIndex(searchEngineClient, index);
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/query/PrefixQueryCommand.java
context.addHighlightedQuery(text); if (getQueryFieldConfig().notAnalyzedFieldSet.contains(field)) { return QueryBuilders.prefixQuery(field, toLowercaseWildcard(text)).boost(boost); } return QueryBuilders.matchPhrasePrefixQuery(field, toLowercaseWildcard(text)).boost(boost) .maxExpansions(fessConfig.getQueryPrefixExpansionsAsInteger()).slop(fessConfig.getQueryPrefixSlopAsInteger());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.3K 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/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/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) -
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)