gbv / jskos-server

Web service to access JSKOS data
https://coli-conc.gbv.de/api/
MIT License
6 stars 4 forks source link

Add simple script that deals with readjusting and recreating indexes after update to 1.2.0 #134

Closed stefandesu closed 3 years ago

stefandesu commented 3 years ago

Upcoming version 1.2.0 (#131) introduces some changes which require reimport of concept schemes as well as recreating indexes. A simple script (might be enough to add as a gist to the release notes, depending on how complex it will be) could make this transition much easier, especially because it won't be necessary to reimport all the data.

stefandesu commented 3 years ago

I set us up for future changes by providing a general upgrade script (npm run upgrade) that performances necessary upgrades after updating jskos-server, as well as a warning that upgrades are necessary when running jskos-server.