Service Portal AI Search Results returning attachments.Issue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } AI Search is returning attachments in typehead suggestions and in the search results related to Catalog Items. Steps to reproduce: 1. Open any portal like=> https://_INSTANCE_NAME_.service-now.com/ess?id=ai_search_pocor=> https://_INSTANCE_NAME_.service-now.com/sp?id=ai_search_poc 2. Search for mainframe – Note that the "suggestions" only contain attachments in the type ahead.3. Hit Enter, or click the search icon to show the details search results.4. Pick the Miscellaneous Facets for Catalog Category.5. Note the Attachments being displayed in the list. Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } Generic Cause<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } The AI search was looking for attachment records under the sc_cat_item According to the manual => https://docs.servicenow.com/bundle/tokyo-platform-administration/page/administer/ai-search/concept/indexed-source-attributes-ais.html#create-indexed-source-attr-ais Enable indexing of attachments for an indexed source Note: If no index_attachments attribute exists in the related list, or the attribute exists with value true, attachment indexing is already enabled for the indexed source. No further steps are required. That means the search for attachment is done by default Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } 1. Go to the index source: Catalog item table => https://_INSTANCE_NAME_.service-now.com/now/nav/ui/classic/params/target/ais_datasource.do%3Fsys_id%3D4d1c4185772300102d71af61681061f0%26sysparm_record_list%3DORDERBYsource%26sysparm_record_row%3D4%26sysparm_record_rows%3D17%26sysparm_record_target%3Dais_datasource%26sysparm_view%3D%26sysparm_view_forced%3Dtrue 2. On the Advanced Configuration related list add a new record for attribute index_attachments and set to true 3. Run all indexes 4. At this moment, it's not enabled by default. Just by the setup done 5. Re-query the same record => https://_INSTANCE_NAME_.service-now.com/now/nav/ui/classic/params/target/ais_datasource.do%3Fsys_id%3D4d1c4185772300102d71af61681061f0%26sysparm_record_list%3DORDERBYsource%26sysparm_record_row%3D4%26sysparm_record_rows%3D17%26sysparm_record_target%3Dais_datasource%26sysparm_view%3D%26sysparm_view_forced%3Dtrue 6. Go to the Advanced Configuration related list 7. Set the value to false for the record created on step #2 (This was the trick 2) 8. Run all indexes 9. Go to the portal and do the search by mainframe and the results the attachments for the sc_cat_items are not there