# Is there a problem with elasticsearch query\_string?

**URL:** <https://discuss.elastic.co/t/is-there-a-problem-with-elasticsearch-query-string/20506>\
**Category:** Elasticsearch\
**Created:** [October 30, 2014, 10:56pm UTC](https://discuss.elastic.co/t/is-there-a-problem-with-elasticsearch-query-string/20506 "2014-10-30T22:56:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sulemanmubarik](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@sulemanmubarik](https://discuss.elastic.co/u/sulemanmubarik)\
**Post date:** [October 30, 2014, 10:56pm UTC](https://discuss.elastic.co/t/is-there-a-problem-with-elasticsearch-query-string/20506/1 "2014-10-30T22:56:16Z")

</div>

Hi  
i am running a search with accent "chín\*" i am using query string but i  
don't get any hits  
if i use prefix then i get the correct number of results  
is there any problem with query string and it is unable to handle search  
with accent?

here are both search json  
{  
"query": {  
"query\_string": {  
"query": "chín\*",  
"fields": [],  
"use\_dis\_max": false,  
"default\_operator": "and",  
"allow\_leading\_wildcard": false  
}  
}  
}

{  
"query": {  
"multi\_match": {  
"query": "ch?n\*",  
"fields": [],  
"type": "phrase\_prefix",  
"max\_expansions": 100,  
"tie\_breaker": 0,  
"zero\_terms\_query": "NONE"  
}  
}  
}

--  
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/fe9cc25d-7df9-4b65-b9bf-ae43ba5ce054%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/fe9cc25d-7df9-4b65-b9bf-ae43ba5ce054%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:52am UTC](https://discuss.elastic.co/t/is-there-a-problem-with-elasticsearch-query-string/20506/2 "2017-07-06T00:52:55Z")

</div>

Closed on July 6, 2017, 12:52am UTC


