I want to return "all" parents (or those matching some other query 
conditions) but in addition to the other data in the document, I want to 
compute for each parent, if he has any child with a set error flag. I don't 
want to filter on this condition in this case.

Am Freitag, 28. März 2014 14:21:30 UTC+1 schrieb Binh Ly:
>
> Not sure I understand. So if you run a _search on the parent, and use the 
> has_child filter to return only parents that match some child condition, is 
> that not what you want? 
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/c99eb564-0767-4adc-b2f6-e4ca00c879a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to