How to disable an AI Search search source?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2023 06:33 AM
We have enabled AI Search on the /sp portal and Virtual Agent.
But it seems that along with KBAs and Catalog Items, the Virtual agent will also show People (from sys_user) in its suggestions. For example if I start a new interaction with the Virtual Agent and type in my name he will show me in the results.
We want to disable the People from being included in the VA AI Search.
I thought disabling the sys_user indexed source would achieve this, but it just makes the VA unable to search for anything (including KBAs and Catalog Items). The system logs show this error
#1305934 [SEARCH API] AISearchService: Error is thrown from searchQueryService.search() : : com.glide.ais.error.FilterConverterException: data source for table sys_user is empty: com.glide.ais.query.query_converter.AisQueryFromGlide.getAISQuery0(AisQueryFromGlide.java:161)
Our "Search Applications Configuration" and "Search Profiles" do not include the sys_user table anywhere. There is only this default "People" search source which I cannot disable, but it has the sys_user table set as its Indexed Search Source, and if I disable it I get that error above as mentioned.
Anyone have any idea what else is there to check?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2023 06:44 AM
As a last resort I went to the Indexed Search source and made a condition that would not return any results (ie Active = True & Active = false), reran the indexing job. This stopped returning users in the queries we make to the VA but also made everything else available for search (KBAs & Catalog Items).
This does not seem like a proper way to do it and I would love if someone let me know of a better way, but until then it will have to do.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2023 06:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2023 08:01 AM
Hi Sandeep, yes I did it is not there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-06-2023 07:06 AM
HI @har_I ,
Have you checked this table ais_search_source?
You can make those causing issue as inactive, I would disable the source People (below), or modify the conditions for it.