RUBY-596 Get all indexes for a collection