- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for disMaxQuery (0.06 sec)
-
src/main/java/org/codelibs/fess/query/QueryCommand.java
if ("dismax".equals(fessConfig.getQueryDefaultQueryType())) { final DisMaxQueryBuilder disMaxQuery = QueryBuilders.disMaxQuery(); disMaxQuery.tieBreaker(fessConfig.getQueryDismaxTieBreakerAsDecimal().floatValue()); return new DefaultQueryBuilder(disMaxQuery); } final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 6.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
} private QueryBuilder simpleQuery(String query, float titleBoost, float contentBoost) { if ("dismax".equals(ComponentUtil.getFessConfig().getQueryDefaultQueryType())) { return QueryBuilders.disMaxQuery().tieBreaker(0.1f)// .add(QueryBuilders.matchPhraseQuery("title", query).boost(titleBoost))// .add(QueryBuilders.matchPhraseQuery("content", query).boost(contentBoost))//
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 11 08:26:36 UTC 2024 - 39.8K bytes - Viewed (0)