elasticsearch/elasticsearch — pull request #6254 by s1monw (2014-05-21 10:09:13+00:00)
Title: XFilteredQuery default strategy prefers query first in the deleted docs ...

...case

Today we check if the DocIdSet we filter by is `fast` but the check fails
if the DocIdSet if wrapped in an `ApplyAcceptedDocsFilter` which is always
the case if the index has deleted documents. This commit unwraps
the original DocIdSet in the case of deleted documents.

Closes #6247