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

support for dynamically specifying the elasticsearch _type from config #123

Merged
merged 1 commit into from
Nov 25, 2019

Conversation

missinglink
Copy link
Member

@missinglink missinglink commented Nov 25, 2019

this pairs with pelias/config#118 & pelias/schema#401
the motivation is being able to create indices compatible with ES7 while not yet breaking backwards support for ES5.

this allows us to create ES7 compatible indices using either ES6 or ES7 without breaking backwards compatibility with 5 yet.

the major motivation for this is that users currently building on pelias/docker on ES6 are going to find that the indices they created with ES6 (using _type:doc) are incompatible with ES7 (and also incompatible with ES6 once we change the type name to _doc!)

that doesn't really make sense, so I plan to set the config.schema.typeName variable to _doc in pelias/docker projects so that indices built with ES6 will not incur any breaking changes.

this is much preferred because without it any users migrating to ES6 would assume that in doing so they were avoiding breaking changes when in fact that wasn't true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant