cleanup text search