How to make elastic search ignore delimiter

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?

Welcome!

That's a question of text analysis. 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.

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