Format search results.