ES 2.0 Where is FilterBulders?

Seems like the question which should have answer by now, but I couldn't find it.
Couldn't find FilterBuilders class to apply a simple IN filter.

.setQuery(QueryBuilders.filteredQuery(QueryBuilders.matchAllQuery(), FilterBuilders.?????)))

Could someone point me to the right direction?

Thanks,
Eugene

Hi,

Filters are merged with queries.

Use a Bool Query with a filter clause.
Filter clause accepts a QueryBuilder.

I'm doing IN filter this way:

client.setQuery(QueryBuilders.constantScoreQuery(QueryBuilders.termsQuery("networkId", byNetworkId.keySet())))

Would this work?

I guess so. I think this should be super equivalent to the bool one.