Index version management from interface #1007
Labels
corpus
changes to corpus definitions or new corpora
enhancement
improvements to user functionality
needs-mockup
this suggestion could use a picture before it is implemented
#1004 made me realise that we have versioned index names in production, so indexing corpora from the interface (#985) should account for version management.
The minimal implementation would be that curators do not see the different versions at all, and the application just quietly updates the alias. It would be good to have an environment setting for production (i.e. versioned index names and aliases) vs. development (none of that, clear and overwrite the index with every update) - I don't think this ever needs to be set per corpus or, as we do now, per indexing action.
In this case, the older index versions could be useful when a curator contacts us about an issue. Still, it would be nice if they could restore older versions themselves. This would save unnecessary duplicates.
The indexing menu (step 3 in #982) could show a list of all indices matching the corpus name, with the option to delete inactive indices, or switch which version is currently active.
However, old indices may not be compatible with the current corpus definition. Ideally, the application will save a "snapshot" of the corpus at the time of indexing (doable with the export option #981), and restoring an old index also means restoring the (relevant) corpus settings.
The text was updated successfully, but these errors were encountered: