elasticsearch/elasticsearch — Issue #1709: top_children query returns no results when child field has the same name as a nested field as a nested field in the parent mapping
Author: outoftime
Created: 2012-02-16 16:22:11+00:00
State: open

Will attach a reduction. What reproduces the problem is when you have a field, say, "body", in the child type, and you're searching on that field in `top_children`. If the parent type also has a nested field with the name "body", then the `top_children` query will return no results; the same `has_child` query/filter does return results.