Essentially, it's a design flaw dating from the earlier days of the project. I've fixed it on Structured Query, but it's a bit more tricky on the browser. There is a partial solution described on github. ymmv
On Thursday, 21 February 2013 09:42:01 UTC+11, Cayman wrote:
I have a question on how to use ES-Head with nested JSON documents. The problem appears to be when the nested document re-uses field names.
Here is my sample document
I can successfully query this document using curl as follows: