The search method handle all the parameters