-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Description
In ES 6.0 the indexed "_all" field will be removed and Elastic is promoting the "all_fields" query (default_field=*) that does the same (at query- and not indexed time).
There should be a feature for restricting fields in the all_fields search.
A multi_match or other queries would expect, that clients know which fields are available and should be searched by default. In many cases this is a configuration on the index and shouldn't be known by the client.
It would be nice to have a configuration option similar to the " include_in_all: false" used in the deprecated indexd based _all-field.
This topic was discussed with @dakrone in the the issue #25105 and in the thread https://discuss.elastic.co/t/option-for-excluding-fields-in-all-fields-mode-query-for-es-6-0/93218