Include parent or some parent attributes in children hits

A quite simple question: I'm making a search request with an has_parent
filter. Is it possible to include the parent or some of its attributes to
the result hits?

Thanks.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/b2127c5b-593b-469a-9dcf-bc35e04cae46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

I would guess that it's not possible, because children are just filtered by
parents _id?

On Saturday, March 15, 2014 5:03:45 PM UTC-4, Robin Boutros wrote:

A quite simple question: I'm making a search request with an has_parent
filter. Is it possible to include the parent or some of its attributes to
the result hits?

Thanks.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ba2a3272-b280-47db-848d-8e25e9a21e27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.