# Elastichsearch not\_analyzed issue

**URL:** <https://discuss.elastic.co/t/elastichsearch-not-analyzed-issue/74157>\
**Category:** Elasticsearch\
**Created:** [February 7, 2017, 4:20am UTC](https://discuss.elastic.co/t/elastichsearch-not-analyzed-issue/74157 "2017-02-07T04:20:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![simontkk2005](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@simontkk2005](https://discuss.elastic.co/u/simontkk2005)\
**Post date:** [February 7, 2017, 4:20am UTC](https://discuss.elastic.co/t/elastichsearch-not-analyzed-issue/74157/1 "2017-02-07T04:20:51Z")

</div>

Dear All,  
I experiencing issue on not\_analyzed. I had manually create my mapping with

Called-Station-Id":{"type":"string","index":"not\_analyzed"}

Called\_Station\_Id is a mac address (20-82-C0-DD-7E-9D )

I can see it not **not\_analyzed** too under kibana Index Patterns, however it still not be able to do with  
not\_analyzed.

Detail  
ElasticSearch : 2.3.0  
Kibana : 4.5.0

Please advice me.  
Thank You

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [February 7, 2017, 8:25am UTC](https://discuss.elastic.co/t/elastichsearch-not-analyzed-issue/74157/2 "2017-02-07T08:25:41Z")

</div>

Hey,

I was unable to extract your exact problem in your question. Can you please take some more time and write up, what is not working as expected? Preferrably with examples (index creation, document creation, sample query, full mapping). Thanks!

--Alex

---

<div class="post-metadata">

**Author:** ![simontkk2005](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@simontkk2005](https://discuss.elastic.co/u/simontkk2005)\
**Post date:** [February 23, 2017, 2:27am UTC](https://discuss.elastic.co/t/elastichsearch-not-analyzed-issue/74157/3 "2017-02-23T02:27:41Z")

</div>

Hi Sir,

I had figure what the caused of my trouble. My question is : although i set my field to "not\_analyzed", but it actually still with "analyzed" when i do query with elasticsearch.

What i found is that, i have wrong setting for my index & template. After I update my \_template then everythings work well.

Thank You.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [February 24, 2017, 7:56am UTC](https://discuss.elastic.co/t/elastichsearch-not-analyzed-issue/74157/4 "2017-02-24T07:56:04Z")

</div>

Great to hear it works!

FYI: Updating your template will not update your index, but only if you create a new index. Also you cannot change a mapping from `analyzed` to `not_analyzed` once it has been created.

--Alex

---

<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:** [March 24, 2017, 7:56am UTC](https://discuss.elastic.co/t/elastichsearch-not-analyzed-issue/74157/5 "2017-03-24T07:56:10Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
