# Configuring multi\_field fields

**URL:** <https://discuss.elastic.co/t/configuring-multi-field-fields/5882>\
**Category:** Elasticsearch\
**Created:** [November 15, 2011, 10:47pm UTC](https://discuss.elastic.co/t/configuring-multi-field-fields/5882 "2011-11-15T22:47: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:** [November 15, 2011, 10:47pm UTC](https://discuss.elastic.co/t/configuring-multi-field-fields/5882/1 "2011-11-15T22:47:31Z")

</div>

Hey guys. I spent this afternoon learning the ins and outs of the  
multi\_field field type. In this mapping snippet:

[https://gist.github.com/87259af48db94ff637f1](https://gist.github.com/87259af48db94ff637f1)

what effect do the "index\_analyzer" and "search\_analyzer" options have when  
placed in the root of the field-document?

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:** [November 16, 2011, 2:20pm UTC](https://discuss.elastic.co/t/configuring-multi-field-fields/5882/2 "2011-11-16T14:20:08Z")

</div>

They have no affect within a multi\_field mapping, only on the root document  
(in which case, it acts as the default index/search analyzer for text  
fields that don't have explicit index/search analyzers set).

On Wed, Nov 16, 2011 at 12:47 AM, Nick Hoffman [nick@deadorange.com](mailto:nick@deadorange.com) wrote:

> Hey guys. I spent this afternoon learning the ins and outs of the  
> multi\_field field type. In this mapping snippet:
> 
> [https://gist.github.com/87259af48db94ff637f1](https://gist.github.com/87259af48db94ff637f1)
> 
> what effect do the "index\_analyzer" and "search\_analyzer" options have  
> when placed in the root of the field-document?
> 
> 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:** [November 16, 2011, 7:57pm UTC](https://discuss.elastic.co/t/configuring-multi-field-fields/5882/3 "2011-11-16T19:57:00Z")

</div>

Thanks, Shay!

---

<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:48am UTC](https://discuss.elastic.co/t/configuring-multi-field-fields/5882/4 "2017-07-06T03:48:23Z")

</div>

Closed on July 6, 2017, 3:48am UTC


