# How to narrow down the current aggregation context to a specific scope within set of documents returned from Filter Aggregation?

**URL:** <https://discuss.elastic.co/t/how-to-narrow-down-the-current-aggregation-context-to-a-specific-scope-within-set-of-documents-returned-from-filter-aggregation/29535>\
**Category:** Elasticsearch\
**Created:** [September 18, 2015, 2:37am UTC](https://discuss.elastic.co/t/how-to-narrow-down-the-current-aggregation-context-to-a-specific-scope-within-set-of-documents-returned-from-filter-aggregation/29535 "2015-09-18T02:37:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sahas](https://avatars.discourse-cdn.com/v4/letter/s/82dd89/32.png) [@sahas](https://discuss.elastic.co/u/sahas)\
**Post date:** [September 18, 2015, 2:37am UTC](https://discuss.elastic.co/t/how-to-narrow-down-the-current-aggregation-context-to-a-specific-scope-within-set-of-documents-returned-from-filter-aggregation/29535/1 "2015-09-18T02:37:27Z")

</div>

Hi,  
Couldn't copy paste the question here due 5000 char limit..however, here is the question in stackoverflow..  
Appreciate any help.

> <https://stackoverflow.com/questions/32642842/how-to-narrow-down-the-current-aggregation-context-to-a-specific-scope-within-se>

Thanks !

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:49pm UTC](https://discuss.elastic.co/t/how-to-narrow-down-the-current-aggregation-context-to-a-specific-scope-within-set-of-documents-returned-from-filter-aggregation/29535/2 "2017-07-05T23:49:31Z")

</div>


