Parent-child document relation problem

Hi all, could you help me with little problem regarding parent-child
documents relation?

I use elasticsearch v1.4.4.

Considering JSON, I have objects, each of them contains an array of
sub-objects. Sub-objects contain some text fields.
I need to maintain full-text-search on these objects and construct
snippets. I need highlighting for building snippets.
If I use nested objects, highlighting does not deal with them.
Therefore, I use Parent-Child relationships.

Now I need to retrieve Parent-documents, which children match the
query_string. Furthermore, I need to get highlighted fields of matched
children and associate each one(each child) with corresponding parent to
construct snippets in my application.

Is it possible to accomplish my goal in one query?

--
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/5e018b6c-8354-4600-822b-8956eb530237%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.