should index search first