elasticsearch/elasticsearch — pull request #6544 by brwe (2014-06-18 07:40:19+00:00)
Title: percolator: fix handling of nested documents

Nested documents were indexed as separate documents, but it was never checked
if the hits represent nested documents or not. Therefore, nested objects could
match not nested queries and nested queries could also match not nested documents.

Examples are in issue #6540 .

closes #6540