elasticsearch/elasticsearch — pull request #8540 by jpountz (2014-11-18 21:36:24+00:00)
Title: Aggregations: Do not take deleted documents into account in aggregations filters.

Since aggregators are only called on documents that match the query, it never
gets called on deleted documents, so by specifying `null` as live docs, we very
likely remove a BitsFilteredDocIdSet layer.