I can use a simple template query, for example:
"wildcard" : { "user" : "ki*y" }
but if I want to use a wildcard in a field, then what? How shoud looks correct for this:
"wildcard" : { "base/*" : "value" }
You can use query_string , which allows you to use both field character masks and query character masks.
Something around these lines:
{ "query": { "query_string": { "fields": [ "base*" ], "query": "ki*y" } } }