Skip to content

Conversation

@jpountz
Copy link
Contributor

@jpountz jpountz commented Dec 1, 2015

Today we try to have type-level granularity when dealing with mappings. This
does not play well with the cross-type validations that we are adding. For
instance we prevent the _parent field to point to an existing type. This
validation would be skipped today in the case of dedicated master nodes, since
those master nodes would only create the type that is being updated when
updating a mapping.

@jpountz jpountz added >bug :Search Foundations/Mapping Index mappings, including merging and defining field types labels Dec 1, 2015
Copy link
Contributor

Choose a reason for hiding this comment

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

add the exception? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch: fixed. For the record this was a pre-existing issue.

@bleskes
Copy link
Contributor

bleskes commented Dec 1, 2015

left some comments.

@bleskes
Copy link
Contributor

bleskes commented Dec 2, 2015

LGTM. Thanks @jpountz

@jpountz jpountz force-pushed the fix/index_level_mappings branch 2 times, most recently from 04c61d7 to 0f269cf Compare December 2, 2015 15:31
Today we try to have type-level granularity when dealing with mappings. This
does not play well with the cross-type validations that we are adding. For
instance we prevent the `_parent` field to point to an existing type. This
validation would be skipped today in the case of dedicated master nodes, since
those master nodes would only create the type that is being updated when
updating a mapping.
@jpountz jpountz force-pushed the fix/index_level_mappings branch from 0f269cf to 79188ed Compare December 2, 2015 15:32
jpountz added a commit that referenced this pull request Dec 2, 2015
Treat mappings at an index-level feature.
@jpountz jpountz merged commit 7854368 into elastic:master Dec 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Search Foundations/Mapping Index mappings, including merging and defining field types v2.2.0 v5.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants