# Config tokenizer for each type in config file

**URL:** <https://discuss.elastic.co/t/config-tokenizer-for-each-type-in-config-file/21895>\
**Category:** Elasticsearch\
**Created:** [January 29, 2015, 8:50am UTC](https://discuss.elastic.co/t/config-tokenizer-for-each-type-in-config-file/21895 "2015-01-29T08:50:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![weiyiju1992](https://avatars.discourse-cdn.com/v4/letter/w/3d9bf3/32.png) [@weiyiju1992](https://discuss.elastic.co/u/weiyiju1992)\
**Post date:** [January 29, 2015, 8:50am UTC](https://discuss.elastic.co/t/config-tokenizer-for-each-type-in-config-file/21895/1 "2015-01-29T08:50:37Z")

</div>

Hi there

I have two different types of data, for one type , I dont want it to be  
tokenized, so I write the config file elasticsearch.yml like this:  
index.analysis.analyzer.default:  
type: custom  
tokenizer: keyword  
filter: standard

But, for other type of data, I want it be tokenized by standard tokenizer,  
can I just change the config file to accomplish this？

--  
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/be5b1afa-009b-422d-9962-b46681be22bd%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/be5b1afa-009b-422d-9962-b46681be22bd%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, 12:36am UTC](https://discuss.elastic.co/t/config-tokenizer-for-each-type-in-config-file/21895/2 "2017-07-06T00:36:01Z")

</div>


