# Include\_in\_all option being ignored

**URL:** <https://discuss.elastic.co/t/include-in-all-option-being-ignored/6548>\
**Category:** Elasticsearch\
**Created:** [January 31, 2012, 12:53am UTC](https://discuss.elastic.co/t/include-in-all-option-being-ignored/6548 "2012-01-31T00:53:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nick\_Hoffman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nick_hoffman/32/1872_2.png) [@Nick\_Hoffman](https://discuss.elastic.co/u/Nick_Hoffman)\
**Post date:** [January 31, 2012, 12:53am UTC](https://discuss.elastic.co/t/include-in-all-option-being-ignored/6548/1 "2012-01-31T00:53:31Z")

</div>

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:

> <https://gist.github.com/nickhoffman/614309d5473552732379>

Any idea what's going on?

Thanks,  
Nick

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [January 31, 2012, 5:10pm UTC](https://discuss.elastic.co/t/include-in-all-option-being-ignored/6548/2 "2012-01-31T17:10:54Z")

</div>

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](https://gist.github.com/614309d5473552732379)
> 
> Any idea what's going on?
> 
> Thanks,  
> Nick

---

<div class="post-metadata">

**Author:** ![Nick\_Hoffman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nick_hoffman/32/1872_2.png) [@Nick\_Hoffman](https://discuss.elastic.co/u/Nick_Hoffman)\
**Post date:** [January 31, 2012, 7:00pm UTC](https://discuss.elastic.co/t/include-in-all-option-being-ignored/6548/3 "2012-01-31T19:00:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:40am UTC](https://discuss.elastic.co/t/include-in-all-option-being-ignored/6548/4 "2017-07-06T03:40:56Z")

</div>


