getAll by index