# Auto Fuzziness should be configurable

**URL:** <https://discuss.elastic.co/t/auto-fuzziness-should-be-configurable/199752>\
**Category:** Elasticsearch\
**Created:** [September 17, 2019, 4:14am UTC](https://discuss.elastic.co/t/auto-fuzziness-should-be-configurable/199752 "2019-09-17T04:14:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashit\_pupu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashit_pupu/32/101113_2.png) [@ashit\_pupu](https://discuss.elastic.co/u/ashit_pupu)\
**Post date:** [September 17, 2019, 4:14am UTC](https://discuss.elastic.co/t/auto-fuzziness-should-be-configurable/199752/1 "2019-09-17T04:14:07Z")

</div>

Hi

Currently in ES we have AUTO in fuzziness which basically restricts any token less than 3 to be exact match, token length in between 4-5 to have a match with fuzziness 1 and above 6 to have a match with fuzziness 2. I want to have it configurable wherein I can configure what character length to have 0 fuzziness and upwards from there.  
I cam across [Auto Fuzziness optional](https://github.com/elastic/elasticsearch/issues/25528) which basically gives the exact solution. But the issue is this is made available in 6.2 and above(yet to test in those env. and confirm), I have Elasticsearch 5.4.0 in production wherein I believe this functionality is not made available.  
Is there any way by which I can overload the functionality in ES 5.4.0 by editing some lib files or by writing any plugin.  
Any help in this regard will help.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [September 17, 2019, 6:00am UTC](https://discuss.elastic.co/t/auto-fuzziness-should-be-configurable/199752/2 "2019-09-17T06:00:24Z")

</div>

Given that this was added as a feature I doubt there is any easy workaround. I would therefore recommend upgrading to a version that supports this, e.g. Elasticsearch 6.8.

---

<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:** [October 15, 2019, 6:00am UTC](https://discuss.elastic.co/t/auto-fuzziness-should-be-configurable/199752/3 "2019-10-15T06:00:29Z")

</div>

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