Open elshobokshy opened 5 years ago
You should be able to use setParams
on the Terms aggregation for this: https://github.com/ruflin/Elastica/blob/master/lib/Elastica/Aggregation/Terms.php But I haven't tested it. Would be great to also have a native mapping for it in Elastica.
As the title says, can I filter aggregations using partitions? (as the scroll API doesn't work with aggregations)
https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-terms-aggregation.html#_filtering_values_with_partitions