Hook this up with the search docs. See views/search