Issue #8549 by turegjorup: Altered search indexer to access container through DI