elasticsearch/elasticsearch — pull request #6221 by s1monw (2014-05-18 20:24:27+00:00)
Title: Don't report terms as live if all it's docs are filtered out

FilterableTermsEnum allows to filter stats by supplying per segment
bits. Today if all docs are filtered out the term is still reported as
live but shouldn't.

Relates to #6211