# ES 2.4.2 Nested Filter and aggregations result

**URL:** <https://discuss.elastic.co/t/es-2-4-2-nested-filter-and-aggregations-result/78591>\
**Category:** Elasticsearch\
**Created:** [March 14, 2017, 8:09pm UTC](https://discuss.elastic.co/t/es-2-4-2-nested-filter-and-aggregations-result/78591 "2017-03-14T20:09:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![m.khartanovych](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@m.khartanovych](https://discuss.elastic.co/u/m.khartanovych)\
**Post date:** [March 14, 2017, 8:09pm UTC](https://discuss.elastic.co/t/es-2-4-2-nested-filter-and-aggregations-result/78591/1 "2017-03-14T20:09:42Z")

</div>

I have some problems with Nested Filter and Aggregations, but I don't sure that this is bug.

[Index settings](https://gist.github.com/mxkh/8cf2d758d0916c2cc9c5edbcedc8e4b7)

[This is my Nested Filter Query](https://gist.github.com/mxkh/8f0b71d7e945363a7dc14e344f8be1ef)

I am expecting, that colors and sizes will be recalculated, but it didn't work. When I use ["query" instead "filter"](https://gist.github.com/mxkh/3ef80054e5b0ff0d5b4b2d4f95abdeda) colors and sizes are recalculated correctly, but only the manufacturer Gucci was showed, I am expected all manufacturers will be show in the bucket aggregations.

---

<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:** [April 11, 2017, 8:09pm UTC](https://discuss.elastic.co/t/es-2-4-2-nested-filter-and-aggregations-result/78591/2 "2017-04-11T20:09:50Z")

</div>

Closed on April 11, 2017, 8:09pm UTC

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