build highlighting for search results