I have a User object with properties Name and Surname. I want to search these fields using one query, and I found multi_match in the documentation, but I don\'t
multi_match
Similar to suggestion above, but this is simple and worked for me:
{ "query": { "bool": { "must": [ { "wildcard" : { "processname.keyword" : "*system*" } }, { "wildcard" : { "username" : "*admin*" } }, { "wildcard" : { "device_name" : "*10*" } } ] } } }