search code setting