add tags for each search result