Could anyone please help me with this nested documents problem? I
found only it works when each nested document has unique named
properties, but i guess there is other way to sort it out?
On Mar 21, 10:17 am, Petr Jancarik jancarikp...@gmail.com wrote:
Hi,
i have index "test" and type "test" with mappings:{ "test": { "properties": { "nested_docs": { - Pastebin.com
and given test data:{ "name": "asasasa", "id": "789", "nested_docs": { "nest - Pastebin.com
When i try to search with nested filter on "nested_docs.nested_doc1"{ "filter": { "nested": { "path": "nested_docs.nested - Pastebin.com, the result is collection of documents,
but when "path" is changed to "nested_docs.nested_doc2" empty result
is returned. It is similar with using nested_docs.nested_doc3 and
nested_docs.nested_doc4, only path with "nested_docs.nested_doc4"
returns collection of documents. So it seems to me when 2 nested
documents have same property name it is possible to query only one of
them with successful results. Is it a bug?Thanks