pass the paramters to the search() and not the request object - more MVC-like