Question from the Elasticsearch test

How to filter search results after running aggregations in Elasticsearch