-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Move flattened field to core. #70122
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
Conversation
This field mapper only lived in its own module so it could be licensed as x-pack basic. Now it can be moved to core, which matches its status as a core type.
|
Pinging @elastic/es-search (Team:Search) |
| /** | ||
| * @deprecated This class exists for backwards compatibility with 7.12 only | ||
| * and should not be used for other purposes. | ||
| */ |
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.
Is this class for cases when _xpack/usage API is used in a mixed 7.12 and 7.13 nodes cluster, and this 7.13 node acts as a coordinating node and it needs to process the usage reply from 7.12 nodes?
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.
Yes exactly. We took the same approach for runtime fields -- @javanna explained it nicely in the RuntimeFieldsFeatureSetUsage Javadoc.
mayya-sharipova
left a comment
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.
@jtibshirani Thanks, this LGTM
This PR backports #68780 to move flattened fields to core.
It also removes flattened fields from xpack usage stats now that they live in
core. The usage stats were already removed in (#53076), but this PR was not
backported to avoid a breaking change on 7.x. We have now clarified that usage
stats updates are not considered breaking, so it is safe to backport this
change.