Data Fetch Script based on query from AI search
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2022 10:29 AM
Hi,
We have Data Fetch script in Old Search source and it will run based on the query we are searching in Typeahead of Service Portal.
Do have any solution in AI search for the above? We need to run script based on the query we are searching in Typeahead.
If not, how to get searched words in Typeahead. I don't find entries in sp_log table. I tried to customize Typeahead widget. I was able to get the query in Client Controller. But, it is not triggering Server side script as it is redirecting to different page after we submit query in Typeahead.
- Labels:
-
Search
-
Service Portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2022 10:57 AM
Pre-Tokyo, AI Search autocomplete is based on user and instance history, and the configuration of the options for the readers are under Search Applications > YOUR_SEARCH_APPLICATION > Autocomplete Suggestions.
Search logs are in the sys_search_event table and autocomplete suggestions are in the sys_search_suggestion table. In Toyko, there is a new reader that is 'Search-based' which will not require previous user history.