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

Remove support for new indexes using path setting in object/nested fields or index_name in any field #9570

Merged
merged 1 commit into from
Feb 5, 2015

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Feb 4, 2015

Backcompat is still here for indexes created before 2.0. We can remove this backcompat when/if we implement mappings migration capabilities as @clintongormley described in #6677.

closes #6677

For reviewers: I did not conditionalize the writing of "path" because the value will always be the default as long as backcompat exists, and there is currently nothing written in the case of "include_defaults" (seems like an existing problem). I can fix this if anyone feels strongly about it, but I opted to leave it alone since we are removing the setting anyways.

@rjernst rjernst added :Search Foundations/Mapping Index mappings, including merging and defining field types review v2.0.0-beta1 and removed v2.0.0-beta1 labels Feb 4, 2015
@jpountz
Copy link
Contributor

jpountz commented Feb 5, 2015

LGTM

object/nested fields or index_name in any field

Backcompat is still here for indexes created before 2.0.

closes elastic#6677
@rjernst rjernst merged commit c696888 into elastic:master Feb 5, 2015
@rjernst rjernst removed the review label Feb 5, 2015
@rjernst rjernst deleted the pr/6677 branch March 24, 2015 03:17
@clintongormley clintongormley changed the title Mappings: Remove support for new indexes using path setting in object/nested fields or index_name in any field Remove support for new indexes using path setting in object/nested fields or index_name in any field Jun 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>breaking :Search Foundations/Mapping Index mappings, including merging and defining field types v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mappings: Deprecate index_name and path
3 participants