getAllIndexNames() seems better