Include_in_all option being ignored

Hi guys. In a dynamic template, I've got a multi_field field with 2 fields:
"{name}", and "analyzed". The "analyzed" field is configured to be included
in _all . However, after indexing a document the "analyzed" field is
configured to not be included in _all .

I've written up a quick gist with the curl commands here:

Any idea what's going on?

Thanks,
Nick

In multi field mapping, only the "main" filed can be included in all (or not), the others are really not relevant (since its the same text that gets added to all). Note, the _all field has its own analyzer.

On Tuesday, January 31, 2012 at 2:53 AM, Nick Hoffman wrote:

Hi guys. In a dynamic template, I've got a multi_field field with 2 fields: "{name}", and "analyzed". The "analyzed" field is configured to be included in _all . However, after indexing a document the "analyzed" field is configured to not be included in _all .

I've written up a quick gist with the curl commands here:
Why is "bars.colour.analyzed" not included in all? · GitHub

Any idea what's going on?

Thanks,
Nick

On Tuesday, 31 January 2012 12:10:54 UTC-5, kimchy wrote:

In multi field mapping, only the "main" filed can be included in all (or
not), the others are really not relevant (since its the same text that gets
added to all). Note, the _all field has its own analyzer.

Ah, that'd explain it! Thanks for that.