simplifying the client to just have the http methods
wired the search to work the same as the index()