# Why doesn't searching on email with fuzziness work?

**URL:** <https://discuss.elastic.co/t/why-doesnt-searching-on-email-with-fuzziness-work/46690>\
**Category:** Elasticsearch\
**Created:** [April 7, 2016, 1:41pm UTC](https://discuss.elastic.co/t/why-doesnt-searching-on-email-with-fuzziness-work/46690 "2016-04-07T13:41:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jedyte](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@Jedyte](https://discuss.elastic.co/u/Jedyte)\
**Post date:** [April 7, 2016, 1:41pm UTC](https://discuss.elastic.co/t/why-doesnt-searching-on-email-with-fuzziness-work/46690/1 "2016-04-07T13:41:13Z")

</div>

For some reason using fuzzy does not give any results on email fields. I use Haystack, but I figured out the ES queries itself are the problem:

This returns good results:  
`{ "query": { "query_string": { "query": "email:(jens.veraa@example.com)" }}}`  
This returns no results:   
`{ "query": { "query_string": { "query": "email:(jens.veraa@example.com~)" }}}` (note the **~** at the end for fuzziness)

Can anyone help please? I looked through all the documentation for the query\_string syntax to make sure it's not a char I need to escape, but it turns out that isn't the case.

Thank you,  
Wim

---

<div class="post-metadata">

**Author:** ![Jedyte](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@Jedyte](https://discuss.elastic.co/u/Jedyte)\
**Post date:** [April 8, 2016, 8:18am UTC](https://discuss.elastic.co/t/why-doesnt-searching-on-email-with-fuzziness-work/46690/2 "2016-04-08T08:18:07Z")

</div>

It seems searching on the pattern _[jens.veraa@example.com](mailto:jens.veraa@example.com)\*_ has to same problems. It **does** return results, but they are wildly irrelevant.  
Further investigation tells me that up to the @-sign it wokrs well, but the moment you type the @ it stops working.

---

<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, 11:01pm UTC](https://discuss.elastic.co/t/why-doesnt-searching-on-email-with-fuzziness-work/46690/3 "2017-07-05T23:01:14Z")

</div>


