index a whole collection