Skip to content

Conversation

@spalger
Copy link
Contributor

@spalger spalger commented Jan 22, 2016

Reverts #5935

Changing the mappings proved to have unexpected side-effects.

Because elasticsearch requires that all types in an index use the same field type for all fields with the same name timelion broke, because it had hits: 'integer' in it's mapping just like it was supposed to.

This isn't something plugins should have to account for in a minor (or hopefully even a major) version change.

Changing the mappings is hard, and unless there is a good reason to change them we really shouldn't. When we do get there though we will need to use migrations to properly propagate the change.

spalger added a commit that referenced this pull request Jan 22, 2016
Revert "[savedObjects] change the number mappings to be 'long'"
@spalger spalger merged commit 39f56d6 into master Jan 22, 2016
@elasticsearch-bot
Copy link

Spencer Alger merged this into the following branches!

Branch Commits
4.4 d79c27c
4.x 37a1016

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.

3 participants