Wildcard in an exact phrase query_string search with escaped quotes

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0198bd5d-62e4-4bde-8e81-eae6b465f777%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.