# Unable to perform a \* query search on Chinese characters

**URL:** <https://discuss.elastic.co/t/unable-to-perform-a-query-search-on-chinese-characters/88974>\
**Category:** Elasticsearch\
**Created:** [June 12, 2017, 4:25am UTC](https://discuss.elastic.co/t/unable-to-perform-a-query-search-on-chinese-characters/88974 "2017-06-12T04:25:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandugmat](https://avatars.discourse-cdn.com/v4/letter/c/dbc845/32.png) [@chandugmat](https://discuss.elastic.co/u/chandugmat)\
**Post date:** [June 12, 2017, 4:25am UTC](https://discuss.elastic.co/t/unable-to-perform-a-query-search-on-chinese-characters/88974/1 "2017-06-12T04:25:46Z")

</div>

The Star Query Search is failing on E/S when using Chinese characters. But the same is working for non-chinese characters.

Not working  
[http://localhost:9200/macroni\_index/\_search?q=平台\*&size=1](http://localhost:9200/macroni_index/_search?q=%E5%B9%B3%E5%8F%B0*&size=1)

Working  
[http://localhost:9200/macroni\_index/\_search?q=平台&size=1](http://localhost:9200/macroni_index/_search?q=%E5%B9%B3%E5%8F%B0&size=1)  
[http://localhost:9200/macroni\_index/\_search?q=583192\*&size=1](http://localhost:9200/macroni_index/_search?q=583192*&size=1)  
[http://localhost:9200/macroni\_index/\_search?q=macroni\*&size=1](http://localhost:9200/macroni_index/_search?q=macroni*&size=1)

Using Java E/S API at the client. Here is the query that is generated.

curl -XGET '[http://localhost:9200/macroni\_index/\_search?pretty](http://localhost:9200/macroni_index/_search?pretty)' -H 'Content-Type: application/json' -d'  
{  
"size" : 1,  
"query" : {  
"filtered" : {  
"query" : {  
"query\_string" : {  
"query" : "平台\*",  
"fields" : ["NAME","USER","CUSTOMER","TRACK","MANUFACTURING","INVENTORY"],  
"default\_operator" : "and"  
}  
},  
"filter" : {  
"bool" : {  
"must" : [ {  
"term" : {  
"TRACKSTAT" : "y"  
}  
}]  
}  
}  
}  
},  
"fields" : "MACRONI\_ID"  
}'

---

<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 10, 2017, 4:25am UTC](https://discuss.elastic.co/t/unable-to-perform-a-query-search-on-chinese-characters/88974/2 "2017-07-10T04:25:49Z")

</div>

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