# Analyzer and Fuzzy

**URL:** https://discuss.elastic.co/t/analyzer-and-fuzzy/286115
**Category:** Elasticsearch
**Created:** [October 7, 2021, 10:33am UTC](https://discuss.elastic.co/t/analyzer-and-fuzzy/286115 "2021-10-07T10:33:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![RabBit\_BR](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rabbit_br/32/82261_2.png) [@RabBit\_BR](https://discuss.elastic.co/u/RabBit_BR)
#### Post date: [October 7, 2021, 10:33am UTC](https://discuss.elastic.co/t/analyzer-and-fuzzy/286115/1 "2021-10-07T10:33:38Z")

</div>

Hi.

In need of a second opinion.  
I created an analyzer that generates the tokens by reducing the term to its radical.  
Ex (I'm using a Brazilian analyzer, my language is Portuguese):  
confeitaria -\> confeit  
conflito -\> conflit

So far so good, my problem is when I start using fuzzy in my search query.

If I search for "confeitaria" I will retrieve both the term "confeitar" (ok) and "confeitaria" (ok) but it also comes "conflito" (which I want to eliminate)  
Fuzzy in this case makes it possible to return the term "conflito" because he fixes confeit to conflit,

I don't want to give up fuzzy but in certain situations it gets in the way.  
Does anyone have any tips?

---

<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: [November 4, 2021, 10:34am UTC](https://discuss.elastic.co/t/analyzer-and-fuzzy/286115/2 "2021-11-04T10:34:17Z")

</div>

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