Elasticsearch : Filter does not work with wildcard query
问题 Here is my query POST indexName/test/_search { "fields" : ["Col1"], "query":{ "filtered":{ "query":{ "wildcard": { "Col1": { "value": "*zxc*" } } }, "filter": { "term": { "Col2": "val" } } } } } so i want to do a wildcard on Col1 for the value *zxc* and i want only those values where Col2 is val this returns 0 hits. is there anything wrong with my syntax? The wildcard query works independently if i remove the filter. Edit this works POST indexName/test/_search { "fields" : ["Col1"], "query":{