Query complex field

No, you need to explicitly specify nested mappings.

On Wednesday, February 29, 2012 at 6:18 AM, Wes Plunk wrote:

the schema-less aspect of ES, can a dynamic mapping be setup that detects data that is nested and automatically match it to that mapping?

On Monday, February 27, 2012 7:06:31 AM UTC-6, kimchy wrote:

What do you mean by auto detected? You can have an index template set to apply to indices created.

On Monday, February 27, 2012 at 3:42 AM, Wes Plunk wrote:

Is there a way to have nested mappings auto detected within a template? I'm trying to keep my indexes schemaless if possible

On Sunday, February 26, 2012 1:20:19 PM UTC-6, kimchy wrote:

You need to use either nested mapping or parent/child for this.

On Thursday, February 23, 2012 at 9:58 PM, Wes Plunk wrote:

Here's my records: record 1 · GitHub

I need to be able to find this record where there is a relationship with an entityId = 5678 and a type = billTo

It seems that the fields path is being flattened into 3 arrays each containing the complete list of values. This is also in my gist

Does anyone have any idea why it's being flattened and how I can make this query?