Hi,

we have somehow a complex type holding some nested docs with arrays (lets 
assume an hierarchy of books and for each book we have an array of pages 
containing its metadata).

we want to search for the nested doc - search for all the books that have 
the term "XYZ" in one of their pages - but we want to get back not only the 
book, but the pages themselves.

We've understood that it's problematic to achieve with ES 
(see https://github.com/elasticsearch/elasticsearch/issues/3022).

We have a problem to achieve it with parent child model as the data model 
comes from our mongodb already existing model (and besides, not sure if a 
parent child model fits here).

so...

1. Is there any a workaround we can do to get the results of the nested 
doc? (the actual pages?)
2. If not, is there a recommended way we can search for the data again in 
memory after it was narrowed down by ES server?...
3. Any advice will be appreciated as this is quite a big obstacle in our 
way to implement a solution using ES.

thanks,

Lior

-- 
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/7602d608-5730-472e-8259-763ff29614ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to