Refactor some SearchController actions into a DocumentsController.