Search in sources :

Example 1 with MatchPhrasePrefixQueryBuilder

use of org.opensearch.index.query.MatchPhrasePrefixQueryBuilder in project fess by codelibs.

the class EsAbstractConditionQuery method regMatchPhrasePrefixQ.

protected MatchPhrasePrefixQueryBuilder regMatchPhrasePrefixQ(String name, Object value) {
    checkEsInvalidQuery(name, value);
    MatchPhrasePrefixQueryBuilder matchQuery = QueryBuilders.matchPhrasePrefixQuery(name, value);
    regQ(matchQuery);
    return matchQuery;
}
Also used : MatchPhrasePrefixQueryBuilder(org.opensearch.index.query.MatchPhrasePrefixQueryBuilder)

Example 2 with MatchPhrasePrefixQueryBuilder

use of org.opensearch.index.query.MatchPhrasePrefixQueryBuilder in project fess by codelibs.

the class EsAbstractConditionQuery method regMatchPhrasePrefixQ.

protected MatchPhrasePrefixQueryBuilder regMatchPhrasePrefixQ(String name, Object value) {
    checkEsInvalidQuery(name, value);
    MatchPhrasePrefixQueryBuilder matchQuery = QueryBuilders.matchPhrasePrefixQuery(name, value);
    regQ(matchQuery);
    return matchQuery;
}
Also used : MatchPhrasePrefixQueryBuilder(org.opensearch.index.query.MatchPhrasePrefixQueryBuilder)

Example 3 with MatchPhrasePrefixQueryBuilder

use of org.opensearch.index.query.MatchPhrasePrefixQueryBuilder in project fess by codelibs.

the class EsAbstractConditionQuery method regMatchPhrasePrefixQ.

protected MatchPhrasePrefixQueryBuilder regMatchPhrasePrefixQ(String name, Object value) {
    checkEsInvalidQuery(name, value);
    MatchPhrasePrefixQueryBuilder matchQuery = QueryBuilders.matchPhrasePrefixQuery(name, value);
    regQ(matchQuery);
    return matchQuery;
}
Also used : MatchPhrasePrefixQueryBuilder(org.opensearch.index.query.MatchPhrasePrefixQueryBuilder)

Aggregations

MatchPhrasePrefixQueryBuilder (org.opensearch.index.query.MatchPhrasePrefixQueryBuilder)3