-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove prefer_v2_templates query string parameter #56546
Conversation
This commit removes the `prefer_v2_templates` flag and setting. This was a brief setting that allowed specifying whether V1 or V2 template should be used when an index is created. It has been removed in favor of V2 templates always having priority. Relates to elastic#53101 Resolves elastic#56528 This is not a breaking change because this flag was never in a released version.
Pinging @elastic/es-core-features (:Core/Features/Indices APIs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one small thing that can be skipped if you want
@@ -218,11 +217,6 @@ protected void finishHim(Exception failure, List<BulkItemResponse.Failure> index | |||
return super.buildScriptApplier(); | |||
} | |||
|
|||
@Override | |||
protected BulkRequest buildBulk(Iterable<? extends ScrollableHitSource.Hit> docs) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we removed only overriding method we can change it back to private
in parent class
@elasticmachine update branch |
This can only be merged once elastic#56541, elastic#56545 and elastic#56546 have been merged
This can only be merged once elastic#56541, elastic#56545 and elastic#56546 have been merged
This commit removes the
prefer_v2_templates
flag and setting. This was a brief setting thatallowed specifying whether V1 or V2 template should be used when an index is created. It has been
removed in favor of V2 templates always having priority.
Relates to #53101
Resolves #56528
This is not a breaking change because this flag was never in a released version.