# Seperate tokenizer for Search and Indexing

**URL:** <https://discuss.elastic.co/t/seperate-tokenizer-for-search-and-indexing/14877>\
**Category:** Elasticsearch\
**Created:** [December 16, 2013, 5:32am UTC](https://discuss.elastic.co/t/seperate-tokenizer-for-search-and-indexing/14877 "2013-12-16T05:32:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![deep\_saxena](https://avatars.discourse-cdn.com/v4/letter/d/cdc98d/32.png) [@deep\_saxena](https://discuss.elastic.co/u/deep_saxena)\
**Post date:** [December 16, 2013, 5:32am UTC](https://discuss.elastic.co/t/seperate-tokenizer-for-search-and-indexing/14877/1 "2013-12-16T05:32:25Z")

</div>

Can we setting like this in whicn indexing uses standard tokenizer and  
searching uses whitespace tokenizer?

--  
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/bc065029-b100-457a-84ca-0b1da5c41d6c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/bc065029-b100-457a-84ca-0b1da5c41d6c%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![paul1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paul1/32/46819_2.png) [@paul1](https://discuss.elastic.co/u/paul1)\
**Post date:** [December 16, 2013, 6:17am UTC](https://discuss.elastic.co/t/seperate-tokenizer-for-search-and-indexing/14877/2 "2013-12-16T06:17:00Z")

</div>

yes you can have different tokenizer for index time and query time. but you  
have to be careful cause if the tokens produced during indexing is  
different than that produced during searching you will not get proper  
results or no results.

On Monday, 16 December 2013 11:02:25 UTC+5:30, deep saxena wrote:

> Can we setting like this in whicn indexing uses standard tokenizer and  
> searching uses whitespace tokenizer?

--  
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/e4f5708f-e021-4f34-84b3-3ef223c1e5ab%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/e4f5708f-e021-4f34-84b3-3ef223c1e5ab%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:01am UTC](https://discuss.elastic.co/t/seperate-tokenizer-for-search-and-indexing/14877/3 "2017-07-06T02:01:07Z")

</div>


