retry on request reject, two types of search by input