forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose if a field is a metadata field in the field capabilities respo…
…nse (elastic#69977) This change exposes for each field in the _field_caps response if the field is a metadata field. This is needed for consumers of this API that want to filter these fields. Currently ML keeps a static list and QL checks that the family type starts with `_`. In order to ease the addition of new metadata fields, this change reworks the strategy in this solution and now only checks for the new flag. Note that the new flag is also applied at the coordinator level in a best-effort to apply the logic on older nodes in a mixed-version cluster.
- Loading branch information
Showing
24 changed files
with
317 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.