Web-based responsive document annotation tool
activeannoservice / document / 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.