HSEARCH-1428 Changing parameter type of MassIndexerFactory method to actually required type