- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for buildDefaultQueryBuilder (0.24 sec)
-
src/main/java/org/codelibs/fess/query/WildcardQueryCommand.java
final String text = wildcardQuery.getTerm().text(); context.addFieldLog(field, text); context.addHighlightedQuery(StringUtils.strip(text, "*")); return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> QueryBuilders.wildcardQuery(f, toLowercaseWildcard(text)).boost(b * boost)); } if (isSearchField(field)) {
Registered: 2024-10-31 13:40 - Last Modified: 2024-02-22 01:37 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/PrefixQueryCommand.java
if (Constants.DEFAULT_FIELD.equals(field)) { context.addFieldLog(field, text + "*"); context.addHighlightedQuery(text); return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> QueryBuilders.matchPhrasePrefixQuery(f, toLowercaseWildcard(text)).boost(b * boost)
Registered: 2024-10-31 13:40 - Last Modified: 2024-02-22 01:37 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java
if (Constants.DEFAULT_FIELD.equals(field)) { final String text = term.text(); context.addFieldLog(field, text); context.addHighlightedQuery(text); return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> QueryBuilders.fuzzyQuery(f, text).fuzziness(Fuzziness.fromEdits(fuzzyQuery.getMaxEdits())).boost(b * boost)
Registered: 2024-10-31 13:40 - Last Modified: 2024-02-22 01:37 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/PhraseQueryCommand.java
if (Constants.DEFAULT_FIELD.equals(field)) { context.addFieldLog(field, text); stream(texts).of(stream -> stream.forEach(t -> context.addHighlightedQuery(t))); return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> buildMatchPhraseQuery(f, text).boost(b * boost)); } if (isSearchField(field)) { context.addFieldLog(field, text);
Registered: 2024-10-31 13:40 - Last Modified: 2024-02-22 01:37 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java
final String origQuery = queryBuf.toString(); context.addFieldLog(Constants.DEFAULT_FIELD, origQuery); context.addHighlightedQuery(origQuery); return buildDefaultQueryBuilder(fessConfig, context, (f, b) -> QueryBuilders.matchPhraseQuery(f, origQuery).boost(b)); } context.addFieldLog(field, termRangeQuery.toString(field));
Registered: 2024-10-31 13:40 - Last Modified: 2024-10-11 21:11 - 4.2K 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: 2024-10-31 13:40 - Last Modified: 2024-10-11 21:11 - 6.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermQueryCommand.java
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: 2024-10-31 13:40 - Last Modified: 2024-10-12 01:54 - 10K bytes - Viewed (0)