Deleting the search resource.