ElasticSearch gives unexpected data when search for string like 23.com

Hello,

I am pretty new to ElasticSearch. I have a query.

My dataset is something like this,
23.com
46.com
23ccom

Now when I try to search the data with query like 23.com, ElasticSearch give all records but when I try to search on abc.com then it gives proper 1 matching result.

ElasticSearch is behaving differently for numeric search term.
Can someone please help me to figure out what is the exact reason for such behavior of ElasticSearch?

Waiting for reply.

Thanks in advance.

You'll need to provide your index settings/doc mapping, some sample docs, and how you're querying for people to understand your problem better.

Please use code indenting/formatting to help others understand your problem better too. (Github triple ticks works here too)

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