Hi, I'm indexing something like:
first doc = { "v4" : "myvalue" } second doc = { "v1" : [ { "v4" : "myvalue" }, { "v5" : "anothervalue" } ] } third doc = { "v1" : [ { "v2" : [ {"v4" : "myvalue" }] } ] } fourth doc = { "v1" : [ { "v2" : [ { "v3" : [ { "v4" : "myvalue" }] } ] } ] } so nested dictionaries and array of dictionaries. I was wondering if there is a query to obtain all the docs that have "v4" : "myvalue" and another condition that has to be satisfied is that this must happen inside a "v1" dictionary and whatever number of intermediate dictionaries (none, v2, v2 and v3) that is with the three docs written my query should give: second doc, third doc and fourth doc Any hint is appreciated giovanni -- 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/53B2E682.40700%40crs4.it. For more options, visit https://groups.google.com/d/optout.