pelias / schema

elasticsearch schema files and tooling
MIT License
40 stars 76 forks source link

backport some features from the ES7 branch which may be ok to use now #403

Closed missinglink closed 5 years ago

missinglink commented 5 years ago

backport some features from the ES7 branch which may be ok to use now

note: this includes the code which moves word_delimiter down one place, I'm not against removing that line as suggested in the draft PR https://github.com/pelias/schema/pull/392, I just wanted to keep this as close to a no-op as possible for now.

merging this will ensure that indices built on ES6 are more compatible with future versions, hopefully avoiding breaking changes down the line.

our new epic build matrix will catch any bugs ;)

missinglink commented 5 years ago

nice, so with this change, it's possible to generate indices on ES6 which are compatible with 7 while at the same time still supporting 5 🎉