use of org.opensearch.index.query.IdsQueryBuilder in project fess by codelibs.
the class EsAbstractConditionQuery method regIdsQ.
protected IdsQueryBuilder regIdsQ(Collection<String> values) {
checkEsInvalidQueryCollection("_id", values);
IdsQueryBuilder idsQuery = QueryBuilders.idsQuery().addIds(values.toArray(new String[values.size()]));
regQ(idsQuery);
return idsQuery;
}
use of org.opensearch.index.query.IdsQueryBuilder in project fess by codelibs.
the class EsAbstractConditionQuery method regIdsQ.
protected IdsQueryBuilder regIdsQ(Collection<String> values) {
checkEsInvalidQueryCollection("_id", values);
IdsQueryBuilder idsQuery = QueryBuilders.idsQuery().addIds(values.toArray(new String[values.size()]));
regQ(idsQuery);
return idsQuery;
}
use of org.opensearch.index.query.IdsQueryBuilder in project fess by codelibs.
the class EsAbstractConditionQuery method regIdsQ.
protected IdsQueryBuilder regIdsQ(Collection<String> values) {
checkEsInvalidQueryCollection("_id", values);
IdsQueryBuilder idsQuery = QueryBuilders.idsQuery().addIds(values.toArray(new String[values.size()]));
regQ(idsQuery);
return idsQuery;
}
Aggregations