# I believe I've found a bug in ES 6.1.1

**URL:** <https://discuss.elastic.co/t/i-believe-ive-found-a-bug-in-es-6-1-1/162785>\
**Category:** Elasticsearch\
**Created:** [January 3, 2019, 10:57am UTC](https://discuss.elastic.co/t/i-believe-ive-found-a-bug-in-es-6-1-1/162785 "2019-01-03T10:57:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cristico](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@cristico](https://discuss.elastic.co/u/cristico)\
**Post date:** [January 3, 2019, 10:57am UTC](https://discuss.elastic.co/t/i-believe-ive-found-a-bug-in-es-6-1-1/162785/1 "2019-01-03T10:57:04Z")

</div>

Hi all, I believe I may have stumbled upon a bug in ElasticSearch 6.1.1 - I don't know for sure but all signs point to it - I am running a query that searches with full-text and then creating some aggregations for faceted browsing. I was trying to combine the facets filtered and unfiltered in order to allow customers to select multiple facets for filtering. I've detailed the whole thing [on this StackOverflow question](https://stackoverflow.com/questions/53888524/elasticsearch-post-filter-and-filtered-aggregations-not-behaving-the-same-way).

After someone else indexed my data in ES 6.4 and ran my query, the results came out correctly. That led me to install ES 6.5 and reindex my data and alas! It works perfectly there too!

Now, I find it hard to believe that a stable version has a bug on a seemingly important feature (filtered aggregations against nested objects), but I thought I'd post it anyway, just in case!

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [January 3, 2019, 12:35pm UTC](https://discuss.elastic.co/t/i-believe-ive-found-a-bug-in-es-6-1-1/162785/2 "2019-01-03T12:35:16Z")

</div>

> [@cristico](#):
>
> Now, I find it hard to believe that a stable version has a bug on a seemingly important feature (filtered aggregations against nested objects), but I thought I'd post it anyway, just in case!

Thanks for the report. It's possible. Elasticsearch goes through fairly extensive tests on a continuous basis, and doubly so before a release, but sometimes features interact in unexpected ways that slip through the net.

We can't fix a version that's already released, and you report that it's not an issue in more recent releases, so it seems there's nothing more to do here. If it was a bug and is now fixed then we will have written another test to make sure it stays fixed.

---

<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:** [January 31, 2019, 12:40pm UTC](https://discuss.elastic.co/t/i-believe-ive-found-a-bug-in-es-6-1-1/162785/3 "2019-01-31T12:40:04Z")

</div>

Closed on January 31, 2019, 12:40pm UTC

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