# How to ignore field length in search time?

**URL:** <https://discuss.elastic.co/t/how-to-ignore-field-length-in-search-time/62604>\
**Category:** Elasticsearch\
**Created:** [October 10, 2016, 7:24am UTC](https://discuss.elastic.co/t/how-to-ignore-field-length-in-search-time/62604 "2016-10-10T07:24:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Youxu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/youxu/32/117375_2.png) [@Youxu](https://discuss.elastic.co/u/Youxu)\
**Post date:** [October 10, 2016, 7:24am UTC](https://discuss.elastic.co/t/how-to-ignore-field-length-in-search-time/62604/1 "2016-10-10T07:24:06Z")

</div>

I know I can disable the field length norm on a field in index time with following like mapping:

{  
"mappings": {  
"doc": {  
"properties": {  
"text": {  
"type": "string",  
"norms": { "enabled": false }  
}  
}  
}  
}  
}

But is it possible to disable the length norm in search time on an already created index?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 10, 2016, 9:34am UTC](https://discuss.elastic.co/t/how-to-ignore-field-length-in-search-time/62604/2 "2016-10-10T09:34:55Z")

</div>

You can pass in search time analysers, yes.  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/search-analyzer.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-analyzer.html)

---

<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 5, 2017, 10:13pm UTC](https://discuss.elastic.co/t/how-to-ignore-field-length-in-search-time/62604/3 "2017-07-05T22:13:39Z")

</div>


