If some one has some ideas please let me know On Wednesday, 14 January 2015 04:16:00 UTC-5, buddarapu nagaraju wrote: > > All I will be knowing in API request is bool params to know whether to get > family docs or not and query that user entered so I need to construct query > that gets all family documents for qualified documents for given query if > bool param is true and another query that just get the qualified documents > > On Wednesday, 14 January 2015 01:51:47 UTC-5, buddarapu nagaraju wrote: >> >> Hi, >> I have question on document relations >> >> one document can have multiple child's. and now I have to address below >> searches and achieve the mentioned expected results . >> >> 1) >> search on any child documents(meaning have a query that qualifies child >> documents) and retrieve the child ,parent and all of the child's of the >> parents >> >> 2) >> >> search on any parent documents and retrieve parent and all of the child >> documents >> >> 3) search on any parent documents and just retrieve only qualified parent >> documents >> >> 4) search on any child documents and just retrieve only qualified child >> documents >> >> Is there any existing feature that help in achieving this ? any ideas >> /thoughts would be very useful ? >> also please provide some sample code if possible >> >
-- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/71c19344-017b-4341-96e6-be003cb2be3e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
