Regexp not matching special chars

First, I am new to Elasticsearch. I am trying to use regex search feature. It is working ok, except for the special chars. Ok I already have read on several places "If you are using the default analyzer, that's expected".
My question is how to make a property not analyzed then ? I could not find a working example. I use elasticsearch v5.5.0. Can you provide me with an example of the mapping where only one property of a document is not analyzed please? Thanks in advance.


Map the field as a keyword datatype.

Thanks Christian,

it works.

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