To apply filters to the aggregation

How can I make I have aggregation at the prices, example

range | count
0 - 10000 | 100
10000 - 20000 | 20

If you choose 0 - 10000 then the filter will apply and in the aggregation will not be 10000 - 20000 how to do it ?
I need to remained all buckets Need to do separate queries ?

Example booking http://joxi.ru/KAgP808h4d490r

Thank you!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.