Define attribute indexes on attributes collection