# Elasticsearch search query issue with wildecard and non letter characters

**URL:** <https://discuss.elastic.co/t/elasticsearch-search-query-issue-with-wildecard-and-non-letter-characters/22148>\
**Category:** Elasticsearch\
**Created:** [February 13, 2015, 9:12am UTC](https://discuss.elastic.co/t/elasticsearch-search-query-issue-with-wildecard-and-non-letter-characters/22148 "2015-02-13T09:12:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![traver\_salder](https://avatars.discourse-cdn.com/v4/letter/t/58f4c7/32.png) [@traver\_salder](https://discuss.elastic.co/u/traver_salder)\
**Post date:** [February 13, 2015, 9:12am UTC](https://discuss.elastic.co/t/elasticsearch-search-query-issue-with-wildecard-and-non-letter-characters/22148/1 "2015-02-13T09:12:37Z")

</div>

Hi,

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

"abc..."  
"a-b-c"

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](mailto: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](https://groups.google.com/d/msgid/elasticsearch/1e1482f3-da71-4668-9886-6f38fd1f4486%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:33am UTC](https://discuss.elastic.co/t/elasticsearch-search-query-issue-with-wildecard-and-non-letter-characters/22148/2 "2017-07-06T00:33:00Z")

</div>


