- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for DefaultQueryBuilder (0.24 sec)
-
src/main/java/org/codelibs/fess/query/DefaultQueryBuilder.java
import org.opensearch.index.query.QueryRewriteContext; import org.opensearch.index.query.QueryShardContext; public class DefaultQueryBuilder implements QueryBuilder { private final QueryBuilder queryBuilder; private final QueryType queryType; public DefaultQueryBuilder(final QueryBuilder queryBuilder) { this.queryBuilder = queryBuilder; if (queryBuilder instanceof BoolQueryBuilder) {
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
(String[]) request.getAttribute(Constants.REQUEST_LANGUAGES))); } protected DefaultQueryBuilder buildDefaultQueryBuilder(final FessConfig fessConfig, final QueryContext context, final DefaultQueryBuilderFunction builder) { final DefaultQueryBuilder defaultQuery = createDefaultQueryBuilder();
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 6.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java
return queryType; } }); } public void test_convertTermQuery() throws Exception { setQueryType("bool"); assertQueryBuilder(DefaultQueryBuilder.class,
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Jul 11 08:26:36 UTC 2024 - 9.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/DefaultQueryBuilderTest.java
public void test_invalid_null() { try { new DefaultQueryBuilder(null); fail(); } catch (IllegalArgumentException e) { // nothing } } public void test_invalid_query() { try { new DefaultQueryBuilder(QueryBuilders.matchAllQuery()); fail(); } catch (IllegalArgumentException e) {
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Jul 11 08:26:36 UTC 2024 - 1.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermQueryCommand.java
final float boost, final String field, final String text) { context.addFieldLog(field, text); context.addHighlightedQuery(text); final DefaultQueryBuilder defaultQuery = buildDefaultQueryBuilder(fessConfig, context, (f, b) -> buildMatchPhraseQuery(f, text).boost(b * boost)); final Integer fuzzyMinLength = fessConfig.getQueryBoostFuzzyMinLengthAsInteger();
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 10K bytes - Viewed (0)