Skip to content
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

[ML] renaming inference processor field field_mappings to new name field_map #53433

Conversation

benwtrent
Copy link
Member

This renames the inference processor configuration field field_mappings to field_map.

field_mappings is now deprecated.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

@benwtrent
Copy link
Member Author

@elasticmachine update branch

Copy link
Member

@davidkyle davidkyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

fieldMap = ConfigurationUtils.readOptionalMap(TYPE, tag, config, FIELD_MAPPINGS);
//TODO Remove in 8.x
if (fieldMap != null) {
LoggingDeprecationHandler.INSTANCE.usedDeprecatedName(FIELD_MAPPINGS, FIELD_MAP);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@benwtrent benwtrent merged commit 970f726 into elastic:master Mar 12, 2020
@benwtrent benwtrent deleted the feature/ml-inference-rename-field_mappings-parameter branch March 12, 2020 16:49
benwtrent added a commit to benwtrent/elasticsearch that referenced this pull request Mar 12, 2020
…eld_map (elastic#53433)

This renames the `inference` processor configuration field `field_mappings` to `field_map`.

`field_mappings` is now deprecated.
benwtrent added a commit that referenced this pull request Mar 13, 2020
…eld_map (#53433) (#53502)

This renames the `inference` processor configuration field `field_mappings` to `field_map`.

`field_mappings` is now deprecated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants