custom index logic for ezfind