Extract params[:search] to search_params