use listIndexes to get indexes information