Search in sources :

Example 1 with CommonTermsQueryBuilder

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

the class EsAbstractConditionQuery method regCommonTermsQ.

protected CommonTermsQueryBuilder regCommonTermsQ(String name, Object text) {
    checkEsInvalidQuery(name, text);
    CommonTermsQueryBuilder commonTermsQuery = QueryBuilders.commonTermsQuery(name, text);
    regQ(commonTermsQuery);
    return commonTermsQuery;
}
Also used : CommonTermsQueryBuilder(org.opensearch.index.query.CommonTermsQueryBuilder)

Example 2 with CommonTermsQueryBuilder

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

the class EsAbstractConditionQuery method regCommonTermsQ.

protected CommonTermsQueryBuilder regCommonTermsQ(String name, Object text) {
    checkEsInvalidQuery(name, text);
    CommonTermsQueryBuilder commonTermsQuery = QueryBuilders.commonTermsQuery(name, text);
    regQ(commonTermsQuery);
    return commonTermsQuery;
}
Also used : CommonTermsQueryBuilder(org.opensearch.index.query.CommonTermsQueryBuilder)

Example 3 with CommonTermsQueryBuilder

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

the class EsAbstractConditionQuery method regCommonTermsQ.

protected CommonTermsQueryBuilder regCommonTermsQ(String name, Object text) {
    checkEsInvalidQuery(name, text);
    CommonTermsQueryBuilder commonTermsQuery = QueryBuilders.commonTermsQuery(name, text);
    regQ(commonTermsQuery);
    return commonTermsQuery;
}
Also used : CommonTermsQueryBuilder(org.opensearch.index.query.CommonTermsQueryBuilder)

Aggregations

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