Elasticsearch filtering in nested query fails
Ok, you've mixed nested with non-nested. here is a query that will work for you:
{ "_source": "false", "query": { "bool": { "filter": [ { "terms": { "Id": [ "100", "200" ] } }, { "nested": { "path": "custom", "query": { "multi_match": { "fields": [ "custom.text" ], "query": "foo bar whatever", "fuzziness": "AUTO" } }, "inner_hits": { "highlight": { "fields": { "custom.start_time": {} } } } } } ] } }}