I can use simple wildcard query like this:
\"wildcard\" : { \"user\" : \"ki*y\" }
but if i want to use wildcard in field, then what? How sh
You can use query_string which allows both field names wildcards and query text wildcards.
Something around these lines:
{ "query": { "query_string": { "fields": [ "base*" ], "query": "ki*y" } } }