- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for fuzzyQuery (0.12 sec)
-
src/main/java/org/codelibs/fess/query/FuzzyQueryCommand.java
@Override protected String getQueryClassName() { return FuzzyQuery.class.getSimpleName(); } @Override public QueryBuilder execute(final QueryContext context, final Query query, final float boost) { if (query instanceof final FuzzyQuery fuzzyQuery) { if (logger.isDebugEnabled()) { logger.debug("{}:{}", query, boost); }
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/parser/QueryParserTest.java
assertEquals("_default:fe?s", ((WildcardQuery) query).getTerm().toString()); query = queryParser.createDefaultFilterChain().parse("fess~"); assertEquals(FuzzyQuery.class, query.getClass()); assertEquals("_default:fess", ((FuzzyQuery) query).getTerm().toString()); query = queryParser.createDefaultFilterChain().parse("fess^10"); assertEquals(BoostQuery.class, query.getClass());
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java
} protected MatchQueryBuilder regFuzzyQ(String name, Object value) { checkEsInvalidQuery(name, value); MatchQueryBuilder fuzzyQuery = QueryBuilders.matchQuery(name, value).fuzziness(Fuzziness.AUTO); regQ(fuzzyQuery); return fuzzyQuery; } protected PrefixQueryBuilder regPrefixQ(String name, String prefix) { checkEsInvalidQuery(name, prefix);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermQueryCommand.java
final Integer fuzzyMinLength = fessConfig.getQueryBoostFuzzyMinLengthAsInteger(); if (fuzzyMinLength >= 0 && text.length() >= fuzzyMinLength) { defaultQuery.add(QueryBuilders.fuzzyQuery(fessConfig.getIndexFieldTitle(), text) .boost(fessConfig.getQueryBoostFuzzyTitleAsDecimal().floatValue()) .prefixLength(fessConfig.getQueryBoostFuzzyTitlePrefixLengthAsInteger())
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 10K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionQuery.java
} protected MatchQueryBuilder regFuzzyQ(String name, Object value) { checkEsInvalidQuery(name, value); MatchQueryBuilder fuzzyQuery = QueryBuilders.matchQuery(name, value).fuzziness(Fuzziness.AUTO); regQ(fuzzyQuery); return fuzzyQuery; } protected PrefixQueryBuilder regPrefixQ(String name, String prefix) { checkEsInvalidQuery(name, prefix);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java
} protected MatchQueryBuilder regFuzzyQ(String name, Object value) { checkEsInvalidQuery(name, value); MatchQueryBuilder fuzzyQuery = QueryBuilders.matchQuery(name, value).fuzziness(Fuzziness.AUTO); regQ(fuzzyQuery); return fuzzyQuery; } protected PrefixQueryBuilder regPrefixQ(String name, String prefix) { checkEsInvalidQuery(name, prefix);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/QueryHelperTest.java
.add(QueryBuilders.matchPhraseQuery("content", query).boost(contentBoost))// .add(QueryBuilders.fuzzyQuery("title", query).boost(0.01f).maxExpansions(10))// .add(QueryBuilders.fuzzyQuery("content", query).boost(0.005f).maxExpansions(10))// ; } return QueryBuilders.boolQuery()//
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Jul 11 08:26:36 UTC 2024 - 39.8K bytes - Viewed (0)