[DS-2295] Index authority script improvement for large database indexing