fix public api to not expose IndexInfo