How do I clear suggested results in AI Search?

Dave Bourland
ServiceNow Employee
ServiceNow Employee

Unpublished and inactive articles still show up in employees search results under "suggested results"

Ex: employee had visited an article called "2021 Insurance Premiums and Cobra Rates" last year. Now when she searches "2021, insurance premiums, etc" that shows up as one of the possible results, even though the article itself is in an inactive / retired state.

find_real_file.png

We've reindexed and search profiles have the correct conditions...

thanks - 

1 REPLY 1

Community Alums
Not applicable

HI @Dave Bourland ,

The sys_search_event table contains all of the strings used in searches. Scripts use this table to generate search and auto-complete suggestions. A system property sets the maximum age for records in the table. The default is 180 days. If you want to review analytics and generate search and auto-complete suggestions from search strings that are more than six months old, increase the number of days. Longer durations increase the size of the table and disk consumption.

Procedure

  1. In Filter Navigator, enter sys_auto_flush.list.
  2. Search on *search and edit the sys_search_event record.
  3. On the Auto Flush form, edit the Age in seconds value.
    The default is 15,552,000 seconds, which is 180 days.

Mark my answer correct & Helpful, if Applicable.

Thanks,

Sandeep