# Index Analysis vs search analysis

**URL:** <https://discuss.elastic.co/t/index-analysis-vs-search-analysis/242305>\
**Category:** Elasticsearch\
**Created:** [July 23, 2020, 8:40am UTC](https://discuss.elastic.co/t/index-analysis-vs-search-analysis/242305 "2020-07-23T08:40:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aniket\_Pant](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Aniket\_Pant](https://discuss.elastic.co/u/Aniket_Pant)\
**Post date:** [July 23, 2020, 8:40am UTC](https://discuss.elastic.co/t/index-analysis-vs-search-analysis/242305/1 "2020-07-23T08:40:32Z")

</div>

I have followed this [https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-index-search-time.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis-index-search-time.html)  
"settings": {  
"analysis": {  
"analyzer": {  
"autocomplete":  
{  
"tokenizer":"mytoken",  
"filter":["lowercase"]  
}  
},  
"tokenizer": {  
"mytoken":  
{  
"type": "edge\_ngram",  
"min\_gram": 2,  
"max\_gram": 10,  
"token\_chars": [  
"letter"  
]  
}  
}  
}

},  
"mappings": {  
"properties": {  
"title": {  
"type": "text",  
"analyzer": "autocomplete"  
}  
}  
PUT my\_index/\_doc/1  
{  
"title": "The QUICK brown foxes jumped over the dog!"  
}  
the tokenization would be [th,the,qu,qui,quic,quick,br,bro,brow,brown,.....]  
my aim was that if a user search QUICK fox then it should not return anything beause it is not match with tokenization value i.e quick foxes

---

<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:** [August 20, 2020, 8:40am UTC](https://discuss.elastic.co/t/index-analysis-vs-search-analysis/242305/2 "2020-08-20T08:40:32Z")

</div>

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