indexer as prototype?!
(from redmine: issue id 607, created on 2018-01-22tgradl, closed on 2018-08-17)