Change term to text for text search