Elasticsearch search query issue with wildecard and non letter characters


Just evaluating the elastic search for a new component and having some
failed scenario with wildcards when the data has characters like below.


When i search for abc* in the query it returns all. But when i search for
abc.* (including a dot which is in the data) it did not return any data.
Any hints how to handle things like this? I tried to query via query string
as well as sending as JSON object with wildcard tag. both returns same
failed output.

GET /abc/person/_search?q=name:abc.*

GET /abc/person/_search{query" : {"wildcard": {"name": {"value": "abc.*"}}}}

My person object in the elastic search is like {person{"name":"abc..."}}
Appreciate a view!

// Traver

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1e1482f3-da71-4668-9886-6f38fd1f4486%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.