Having an issue trying to get a wildcard into and elastic search exact phrase search using query_string.
Want to allow results to be returned that would be an exact phrase of all variations. i.e. "Coors Brewing", "Coors Brewery", "Coors Brews", etc.
POST _search
{
"query": {
"query_string": {
"default_operator": "AND",
"analyze_wildcard": true,
"query": "\"coors brew*\""
}
}
}
I am not married to this approach, but would like to search the majority of the document to find the matches vs 1 or 2 fields.