For example:

Have three below documents , FakeDoc,Doc1&Doc2

Now how to write a query that qualifies Doc1 and also gets the all 
documents which has same parentid as Doc1

That is Doc1 and Doc2 in this case


FakeDoc{

F1

}

Doc1

{

_parent:F1

}

 

Doc2

{

_parent:F2

}

On Friday, 23 January 2015 15:22:49 UTC-5, bvnrwork wrote:
>
>
> Is there a way we can get all child's and parents if parent /child 
> qualifies for a 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/32a3ac9e-409b-46df-af50-4ed6d8048bbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to