Skip to content

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