refactoring : pass in entire IndexInfo