# Wildcard in an exact phrase query\_string search with escaped quotes

**URL:** https://discuss.elastic.co/t/wildcard-in-an-exact-phrase-query-string-search-with-escaped-quotes/20390
**Category:** Elasticsearch
**Created:** [October 22, 2014, 10:59pm UTC](https://discuss.elastic.co/t/wildcard-in-an-exact-phrase-query-string-search-with-escaped-quotes/20390 "2014-10-22T22:59:55Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Eric1](https://avatars.discourse-cdn.com/v4/letter/e/3bc359/32.png) [@Eric1](https://discuss.elastic.co/u/Eric1)
#### Post date: [October 22, 2014, 10:59pm UTC](https://discuss.elastic.co/t/wildcard-in-an-exact-phrase-query-string-search-with-escaped-quotes/20390/1 "2014-10-22T22:59:55Z")

</div>

Updating a post from 2012.

I have a requirement to allow a wildcard within an exact phrase  
query\_string.

POST \_search  
{  
"query": {  
"query\_string": {  
"query": ""coors brew\*"",  
"analyze\_wildcard": true  
}  
}  
}

I get the following zero results set.

{  
"took": 94,  
"timed\_out": false,  
"\_shards": {  
"total": 5,  
"successful": 5,  
"failed": 0  
},  
"hits": {  
"total": 0,  
"max\_score": null,  
"hits": []  
}  
}

My expectation is to get variations of the exact match (below) looking  
through all fields in our document.

- Coors Brewing
- Coors Brewery
- Coors Brews
- etc
- etc

--  
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/0198bd5d-62e4-4bde-8e81-eae6b465f777%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/0198bd5d-62e4-4bde-8e81-eae6b465f777%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:54am UTC](https://discuss.elastic.co/t/wildcard-in-an-exact-phrase-query-string-search-with-escaped-quotes/20390/2 "2017-07-06T00:54:20Z")

</div>


