Long number search

Hi .
i have a number at a log , so i search :
object: 111-222-333-444-555
This is the " string " that i looking for.
but i get alsow all the answer of :
111 , 222 , 333 , 444 ,555 - with i don`t want
please your advice
thank you

Hi @Aviram,

This is the expected behaviour of the default text analyzer. You can overwrite this behaviour by changing the default_operator or the analyzer settings in your query and/or index.

It is better explained in https://www.elastic.co/guide/en/elasticsearch/reference/7.9/query-dsl-query-string-query.html

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