# How do we reindex an index such that queries having a symbol and not having symbol return same results

**URL:** <https://discuss.elastic.co/t/how-do-we-reindex-an-index-such-that-queries-having-a-symbol-and-not-having-symbol-return-same-results/322339>\
**Category:** Elasticsearch\
**Created:** [January 3, 2023, 5:12am UTC](https://discuss.elastic.co/t/how-do-we-reindex-an-index-such-that-queries-having-a-symbol-and-not-having-symbol-return-same-results/322339 "2023-01-03T05:12:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krishna\_Teja](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krishna_teja/32/104976_2.png) [@Krishna\_Teja](https://discuss.elastic.co/u/Krishna_Teja)\
**Post date:** [January 3, 2023, 5:12am UTC](https://discuss.elastic.co/t/how-do-we-reindex-an-index-such-that-queries-having-a-symbol-and-not-having-symbol-return-same-results/322339/1 "2023-01-03T05:12:14Z")

</div>

```auto

query: {

    match: {

        "key": "yee-haw"

    }

}

# returns 0

query: {

    match: {

        "key": "yeehaw"

    }

}

# returns 2

```

Reindex such that both yee-haw and yeehaw return same results with same scoring

---

<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:** [January 31, 2023, 5:12am UTC](https://discuss.elastic.co/t/how-do-we-reindex-an-index-such-that-queries-having-a-symbol-and-not-having-symbol-return-same-results/322339/2 "2023-01-31T05:12:24Z")

</div>

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