Improve Elastic Search Indexing after adding or removing groups of definitions
At the moment we reindex everything after we add or remove a group to a definition. This is a huge overhead and performance hit. We also encountered some problems in definitions controller tests because we try to update indexes of documents which we haven't initialized in elastic search.