# ElasticSearch Mapping

**URL:** <https://discuss.elastic.co/t/elasticsearch-mapping/22829>\
**Category:** Elasticsearch\
**Created:** [March 23, 2015, 4:16pm UTC](https://discuss.elastic.co/t/elasticsearch-mapping/22829 "2015-03-23T16:16:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shai\_Amar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shai_amar/32/813_2.png) [@Shai\_Amar](https://discuss.elastic.co/u/Shai_Amar)\
**Post date:** [March 23, 2015, 4:16pm UTC](https://discuss.elastic.co/t/elasticsearch-mapping/22829/1 "2015-03-23T16:16:11Z")

</div>

I want to store data in an ElasticSearch index as not\_analyzed.

Meaning, that I do not need any analyzer to analyze the data.

e.g. {name:JHON-ANDERSON} will be stored as {name:JOHN-ANDERSON}

I want to create a template that creates not\_analyzed indices.

I know that if I want to do it this way, I need to specify it specifically  
in the mapping.

Since the JSon data I add to the index is quite large, the mapping is quite  
complicated.

So, is there any way to do it by default? Meaning, to map all the string  
values in a template as not analyzed?

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/89144755-2ea8-483f-841d-6715650705c7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/89144755-2ea8-483f-841d-6715650705c7%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Bipul\_Dutta](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@Bipul\_Dutta](https://discuss.elastic.co/u/Bipul_Dutta)\
**Post date:** [March 23, 2015, 5:31pm UTC](https://discuss.elastic.co/t/elasticsearch-mapping/22829/2 "2015-03-23T17:31:13Z")

</div>

Will this be helpful?

> <https://stackoverflow.com/questions/23366602/default-index-analyzer-in-elasticsearch>

On Mon, Mar 23, 2015 at 9:16 AM, Shai Amar [shai@tawkon.com](mailto:shai@tawkon.com) wrote:

> I want to store data in an Elasticsearch index as not\_analyzed.
> 
> Meaning, that I do not need any analyzer to analyze the data.
> 
> e.g. {name:JHON-ANDERSON} will be stored as {name:JOHN-ANDERSON}
> 
> I want to create a template that creates not\_analyzed indices.
> 
> I know that if I want to do it this way, I need to specify it specifically  
> in the mapping.
> 
> Since the JSon data I add to the index is quite large, the mapping is  
> quite complicated.
> 
> So, is there any way to do it by default? Meaning, to map all the string  
> values in a template as not analyzed?
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/89144755-2ea8-483f-841d-6715650705c7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/89144755-2ea8-483f-841d-6715650705c7%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/89144755-2ea8-483f-841d-6715650705c7%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/89144755-2ea8-483f-841d-6715650705c7%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--

This message contains confidential information and is intended only for the  
individual named. If you are not the named addressee, any delivery,  
disclosure, dissemination or distribution of this e-mail is unlawful and  
strictly prohibited. Please notify the sender immediately by e-mail if  
you have received this e-mail by mistake and delete this e-mail from your  
system. E-mail transmissions cannot be guaranteed to be secure or without  
error, as information could be intercepted, corrupted, lost, destroyed,  
arrive late, be incomplete, or contain viruses. The sender therefore does  
not accept liability for any errors or omissions in the contents of this  
message, which errors or omissions arise as a result of e-mail  
transmission. If verification is required, please request a hard-copy  
version. (Res.Sys-dct1)

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/CAAKpE%2BVwLaVdY6jhk6DrQH%3DCKngvA-ZoB6gsJV2kGwo%2B1DeF%3DA%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAAKpE%2BVwLaVdY6jhk6DrQH%3DCKngvA-ZoB6gsJV2kGwo%2B1DeF%3DA%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:24am UTC](https://discuss.elastic.co/t/elasticsearch-mapping/22829/3 "2017-07-06T00:24:44Z")

</div>


