Search in sources :

Example 1 with MatchPhraseQueryBuilder

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

the class EsAbstractConditionQuery method regMatchPhraseQ.

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

Example 2 with MatchPhraseQueryBuilder

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

the class EsAbstractConditionQuery method regMatchPhraseQ.

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

Example 3 with MatchPhraseQueryBuilder

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

the class EsAbstractConditionQuery method regMatchPhraseQ.

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

Aggregations

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