# Default not\_analyzed for all fields with type string?

**URL:** <https://discuss.elastic.co/t/default-not-analyzed-for-all-fields-with-type-string/18331>\
**Category:** Elasticsearch\
**Created:** [June 25, 2014, 1:52pm UTC](https://discuss.elastic.co/t/default-not-analyzed-for-all-fields-with-type-string/18331 "2014-06-25T13:52:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lop\_Ata](https://avatars.discourse-cdn.com/v4/letter/l/a88e4f/32.png) [@Lop\_Ata](https://discuss.elastic.co/u/Lop_Ata)\
**Post date:** [June 25, 2014, 1:52pm UTC](https://discuss.elastic.co/t/default-not-analyzed-for-all-fields-with-type-string/18331/1 "2014-06-25T13:52:30Z")

</div>

Hi, is there a way how to set default analyzer for string types to no  
analyzer (not\_analyzed) instead standard analyzer? (For fields, that is not  
lately specified in mapping.)

I cannot use template mappings, because there is no pattern in new fields  
names (and I don't know them in the time of putting mappings). Thanks..

--  
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/04c1061f-d456-4c9f-a4bd-324e329c216a%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/04c1061f-d456-4c9f-a4bd-324e329c216a%40googlegroups.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, 1:19am UTC](https://discuss.elastic.co/t/default-not-analyzed-for-all-fields-with-type-string/18331/2 "2017-07-06T01:19:52Z")

</div>


