IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Nested Filter
editNested Filter
editSee Nested Filter
FilterBuilders.nestedFilter("obj1", QueryBuilders.boolQuery() .must(QueryBuilders.matchQuery("obj1.name", "blue")) .must(QueryBuilders.rangeQuery("obj1.count").gt(5)) );
Note that you can ask not to cache the result using
NestedFilterBuilder#cache(boolean)
method. See Caching.