Identify which search result is for which query.