Open
Description
In preProcessSearch
method of Range filter stats aggregation is added:
it provides data for max and min values, but, it aggregates on all documents instead of limiting to current search. IMO it should add a FilterAggregation
with post filters from related search instance like it is done in filters like choice, dynamic aggregate and others. Any thoughts?