How to disable an AI Search search source?

har_I
Tera Contributor

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?

5 REPLIES 5

har_I
Tera Contributor

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.

SANDEEP28
Mega Sage

@har_I have you checked search sources linked to search profile

 

SANDEEP28_1-1701874339319.png

 

 

har_I
Tera Contributor

Hi Sandeep, yes I did it is not there.

har_I_0-1701878432721.png

 

Luiz Lucena
Mega Sage

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.
Screenshot 2023-12-06 100516.png