# Unable to perform Fuzzy search for search query template

**URL:** <https://discuss.elastic.co/t/unable-to-perform-fuzzy-search-for-search-query-template/314226>\
**Category:** Elasticsearch\
**Created:** [September 12, 2022, 8:07pm UTC](https://discuss.elastic.co/t/unable-to-perform-fuzzy-search-for-search-query-template/314226 "2022-09-12T20:07:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pratikshatiwari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pratikshatiwari/32/116646_2.png) [@pratikshatiwari](https://discuss.elastic.co/u/pratikshatiwari)\
**Post date:** [September 12, 2022, 8:07pm UTC](https://discuss.elastic.co/t/unable-to-perform-fuzzy-search-for-search-query-template/314226/1 "2022-09-12T20:07:50Z")

</div>

Hello Team

I am trying to create search query template to allow fuzzy search to search even incomplete values from field, After following the elastic document tried to create search query but it is not working.

Using below query i am trying to search the value "my system" by giving incomplete query as "my syst" from field "testfield.searchable"

SOmewhow it is not working, can anyone advice where i m doing wrong

"query": {  
"bool": {  
"must": [  
{  
"query\_string": {  
"query": "my syst",  
"default\_field": "testfield.searchable",  
"fuzziness": "AUTO"  
}  
}  
]  
}  
}

---

<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 10, 2022, 8:08pm UTC](https://discuss.elastic.co/t/unable-to-perform-fuzzy-search-for-search-query-template/314226/2 "2022-10-10T20:08:19Z")

</div>

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