ActiveAnno

Web-based responsive document annotation tool

View the Project on GitHub MaxMello/ActiveAnno

activeannoservice / document / updateIndexes

updateIndexes

suspend fun updateIndexes(): Unit

Create all indexes in mongoDB. If they already exist, nothing will happen. Every index is sparse, because they are dynamic and depend on user input. Normally, this would not be recommended when designing a database, but because of the highly configurable nature of ActiveAnno, it is done that way.