# How to search these kind of texts without Synonyms

**URL:** <https://discuss.elastic.co/t/how-to-search-these-kind-of-texts-without-synonyms/346362>\
**Category:** Kibana\
**Created:** [November 3, 2023, 11:55am UTC](https://discuss.elastic.co/t/how-to-search-these-kind-of-texts-without-synonyms/346362 "2023-11-03T11:55:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anand\_Konagala](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anand_konagala/32/120215_2.png) [@Anand\_Konagala](https://discuss.elastic.co/u/Anand_Konagala)\
**Post date:** [November 3, 2023, 11:55am UTC](https://discuss.elastic.co/t/how-to-search-these-kind-of-texts-without-synonyms/346362/1 "2023-11-03T11:55:42Z")

</div>

Hi,

When I search with this query,

```auto
{
                        "match":{
                            "company":{
                                "query":"walmart"
                            }
                        }
                    }

```

I got results like 11148 from my data.  
When I include hyphen(-) in between the value like "wal-mart"

```auto
{
                        "match":{
                            "company":{
                                "query":"wal-mart"
                            }
                        }
                    }

```

I got some different count like 2417  
At the same time when I search with "wal mart",

```auto
{
                        "match":{
                            "company":{
                                "query":"wal mart"
                            }
                        }
                    }

```

i got result like 2417. Which is equal to "wal-mart". I didn't gave any analyzer or any tokenizer to it. My query is, How can I equal all the above three kind of scenario without Synonyms..?  
I also tried to equal these with Fuzziness. It is also failed. which is only used in spelling mistake counts from Levenshtein distance method.  
Can you guys provide any solution.

Thanks&Regards,

---

<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:** [December 1, 2023, 11:56am UTC](https://discuss.elastic.co/t/how-to-search-these-kind-of-texts-without-synonyms/346362/2 "2023-12-01T11:56:35Z")

</div>

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