That should not be the case, opened an issue for this: Search: When fetching _parent, only the _id should be returned, and not type#id · Issue #658 · elastic/elasticsearch · GitHub and pushed a fix.
As for matching on _parent field, you can simple do a term query on child_type._parent:parent_id.
On Sunday, January 30, 2011 at 7:49 PM, byuva wrote:
I have it figured out now. I had been unable to see the actual content of
the _parent field (per another thread here) and hadn't realized that the
name was slightly mangled (eg "my_parent_type#my_id). My apologies if I
missed this in the documentation.-brian
--
View this message in context: http://elasticsearch-users.115913.n3.nabble.com/Parent-child-search-tp2166479p2384355.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.