use of org.opensearch.index.query.TermsQueryBuilder in project fess by codelibs.
the class EsAbstractConditionQuery method regTermsQ.
protected TermsQueryBuilder regTermsQ(String name, Collection<?> values) {
checkEsInvalidQueryCollection(name, values);
TermsQueryBuilder termsQuery = QueryBuilders.termsQuery(name, values);
regQ(termsQuery);
return termsQuery;
}
use of org.opensearch.index.query.TermsQueryBuilder in project fess by codelibs.
the class EsAbstractConditionQuery method regTermsQ.
protected TermsQueryBuilder regTermsQ(String name, Collection<?> values) {
checkEsInvalidQueryCollection(name, values);
TermsQueryBuilder termsQuery = QueryBuilders.termsQuery(name, values);
regQ(termsQuery);
return termsQuery;
}
use of org.opensearch.index.query.TermsQueryBuilder in project fess by codelibs.
the class EsAbstractConditionQuery method regTermsQ.
protected TermsQueryBuilder regTermsQ(String name, Collection<?> values) {
checkEsInvalidQueryCollection(name, values);
TermsQueryBuilder termsQuery = QueryBuilders.termsQuery(name, values);
regQ(termsQuery);
return termsQuery;
}
Aggregations