Return CIs in Global Search

Luc_Sutherland
Tera Expert

I am attempting to configure the Global Search to return records from any table in the CMDB.

 

I created a text index on the Collection field of the cmdb_ci table. The Text Index checkbox is checked, I hit the "Generate Text Index" related link, and got the confirmation email. If I look at the Event table, I can see that the text_index.all and text_index.complete events were successfully run with parm1 as cmdb_ci.

 

Next, I added a new Text Search Group, and added cmdb_ci as a Text Search Table. Both records are set to active, and the Text Search Group roles are set to "itil,admin."

 

When I search for the name of a specific CI, however, it does not return any results. What am I missing?

 

1 ACCEPTED SOLUTION

Luc_Sutherland
Tera Expert

I managed to figure this out. There is an extra step to take to account for the new Polaris stuff.

 

I added a record to the Application Search Sources (m2m_search_context_config_search_source) table. I set the Source field to the Search Source record (the text search table) I had created for cmdb_ci, and the Search context config field to "Now Experience Search Configuration".

 

Searches started working immediately after that.

View solution in original post

6 REPLIES 6

Luc_Sutherland
Tera Expert

I managed to figure this out. There is an extra step to take to account for the new Polaris stuff.

 

I added a record to the Application Search Sources (m2m_search_context_config_search_source) table. I set the Source field to the Search Source record (the text search table) I had created for cmdb_ci, and the Search context config field to "Now Experience Search Configuration".

 

Searches started working immediately after that.

Hi! I am also trying this but its working for other tables not the CMDB_CI table. Could you let me know if this is correct. 

CJPeterson_0-1671732321778.png

 

Your Search Source record is correct. Did you reference it in an Application Search Sources record?

Hi, yes although I am still not able to get any records. Will continue to troubleshoot. Thank you!

CJPeterson_0-1671748276060.png

CJPeterson_1-1671749110474.png