use of org.opensearch.index.query.MatchQueryBuilder in project fess by codelibs.
the class EsAbstractConditionQuery method regFuzzyQ.
protected MatchQueryBuilder regFuzzyQ(String name, Object value) {
checkEsInvalidQuery(name, value);
MatchQueryBuilder fuzzyQuery = QueryBuilders.matchQuery(name, value).fuzziness(Fuzziness.AUTO);
regQ(fuzzyQuery);
return fuzzyQuery;
}
use of org.opensearch.index.query.MatchQueryBuilder in project fess by codelibs.
the class EsAbstractConditionQuery method regMatchQ.
protected MatchQueryBuilder regMatchQ(String name, Object value) {
checkEsInvalidQuery(name, value);
MatchQueryBuilder matchQuery = QueryBuilders.matchQuery(name, value);
regQ(matchQuery);
return matchQuery;
}
use of org.opensearch.index.query.MatchQueryBuilder in project fess by codelibs.
the class EsAbstractConditionQuery method regFuzzyQ.
protected MatchQueryBuilder regFuzzyQ(String name, Object value) {
checkEsInvalidQuery(name, value);
MatchQueryBuilder fuzzyQuery = QueryBuilders.matchQuery(name, value).fuzziness(Fuzziness.AUTO);
regQ(fuzzyQuery);
return fuzzyQuery;
}
use of org.opensearch.index.query.MatchQueryBuilder in project fess by codelibs.
the class EsAbstractConditionQuery method regMatchQ.
protected MatchQueryBuilder regMatchQ(String name, Object value) {
checkEsInvalidQuery(name, value);
MatchQueryBuilder matchQuery = QueryBuilders.matchQuery(name, value);
regQ(matchQuery);
return matchQuery;
}
use of org.opensearch.index.query.MatchQueryBuilder in project fess by codelibs.
the class EsAbstractConditionQuery method regFuzzyQ.
protected MatchQueryBuilder regFuzzyQ(String name, Object value) {
checkEsInvalidQuery(name, value);
MatchQueryBuilder fuzzyQuery = QueryBuilders.matchQuery(name, value).fuzziness(Fuzziness.AUTO);
regQ(fuzzyQuery);
return fuzzyQuery;
}
Aggregations