Hello,
I've a query with a multi_match condition where I specify only the term and not the fields param
{"profile":true,"from":0,"query":{"multi_match":{"query":"test"}},"size":10}
In the profile output I can see a lot of the followings:
(MatchNoDocsQuery(\"failed [attributes.gender] query, caused by illegal_argument_exception:[Cannot search on field [attributes.gender] since it is not indexed.]\")
And indeed in my mapping for the index I set that fields with index: false
and the results are the ones expected
What I wonder about is if those exceptions affect query performances and I should rather "whitelist" all the indexed fields in the multi_match query via the field param