
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-16-2022 05:43 PM
Hi all,
Can anyone shed some light on how to add hit highlighting to AI Search results? Once we enabled AI Search, we lost all hit highlighting. I've followed the instructions on how to change it here, but it still doesn't appear. The border changes in the article work as expected, but the hit highlighting doesn't. Any ideas?
Cheers,
Brad
Solved! Go to Solution.
- Labels:
-
AI Search
-
ai-intelligence-

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2022 04:59 PM
I figured it out. We were attempting to use meta_description as the summary mapping for knowledge articles, but we needed to change the summary mapping to use ai_search_teaser_text and also add ai_search_teaser_text to the custom fields on the EVAM view config page.
ServiceNow must have script(s) that only apply the hit highlighting to the ai_search_teaser_text custom field and not others.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2022 12:00 AM
Hello,
Highlighting won't work in AI search, if you get any other information do share with me as well.
Please hit like and mark my response as correct if that helps
Regards
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2022 09:36 AM
Hello Brad,
Does the sp_css_include record have a similar entry, as follows -
sn-search-results-container, sn-search-combobox {
--now-color--primary-0: rgb(40,103,178) !important;
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2022 04:44 PM
Hi Brian,
Yeah I have that sp_css_include record and using rgb(177,211,74). I just created the same sp_css_include record in our UAT instance and it is working correctly. Any ideas on other settings or CSS variables to check?
Cheers,
Brad

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-17-2022 04:59 PM
I figured it out. We were attempting to use meta_description as the summary mapping for knowledge articles, but we needed to change the summary mapping to use ai_search_teaser_text and also add ai_search_teaser_text to the custom fields on the EVAM view config page.
ServiceNow must have script(s) that only apply the hit highlighting to the ai_search_teaser_text custom field and not others.