# How to make elastic search ignore delimiter

**URL:** <https://discuss.elastic.co/t/how-to-make-elastic-search-ignore-delimiter/240037>\
**Category:** Elasticsearch\
**Created:** [July 6, 2020, 4:07pm UTC](https://discuss.elastic.co/t/how-to-make-elastic-search-ignore-delimiter/240037 "2020-07-06T16:07:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ermagherd](https://avatars.discourse-cdn.com/v4/letter/e/3ab097/32.png) [@ermagherd](https://discuss.elastic.co/u/ermagherd)\
**Post date:** [July 6, 2020, 4:07pm UTC](https://discuss.elastic.co/t/how-to-make-elastic-search-ignore-delimiter/240037/1 "2020-07-06T16:07:04Z")

</div>

Hi all,

ES Noob posting his first question here. I've ingested some text documents into ES using FS Crawler. When I try to run a match query in elastic search for a piece of text like "aaa-bbb", I notice that elastic search breaks it using the "-" as a delimiter while searching. Is there a way to make ES ignore the delimiter and do an exact match?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 7, 2020, 12:19pm UTC](https://discuss.elastic.co/t/how-to-make-elastic-search-ignore-delimiter/240037/2 "2020-07-07T12:19:33Z")

</div>

Welcome!

That's a question of [text analysis](https://www.elastic.co/guide/en/elasticsearch/reference/current/analysis.html). You need to understand how analyzers are actually working. Under the chapter I linked to you have a lot of resources which are super useful to build the right analyzer for your use case.

---

<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:** [August 4, 2020, 12:19pm UTC](https://discuss.elastic.co/t/how-to-make-elastic-search-ignore-delimiter/240037/3 "2020-08-04T12:19:43Z")

</div>

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