Knowledge articles not visible in search result after enabling AI search

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2022 06:23 AM
Hi Team,
We recently enabled AI search in one of our development instance and it is showing below response while searching for KB. It is also showing attachments( attached in chg or ritm) in the search result. Any input to fix this would me much appreciated.
Thanks,
Fedrick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2022 06:52 AM
HI
The OOB Faceted filter has kb_knowledge.category and the correct one is kb_knowledge.kb_category.
Facets can be created using:
- Navigate to All > Service Portal > Search Sources.
- Open or create a simple search source.
Simple search sources do not use a data fetch script. Rather, they define a table as the source of searchable data. To learn more about search sources, see Service Portal search.
- Select the Facets related list.
- Click New.
The Facet form displays.
- Complete the fields.
-
Save
Or you can try cloning the Typeahead Search widget and overriding the `data.aisEnabled` variable in the server-side script.
Just change the line containing data.aisEnabled to this:
data.aisEnabled = true;
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2022 12:47 AM
I have cloned homepage widget and have modified the line as you advised.
Do i need to clone the typeahead widget and do the same?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-13-2022 04:03 AM
Clone the typehead search widget and do as how i mentioned previously.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2022 09:53 PM
Hi Sandeep,
Do we have any supporting document which refers to this changes?
I went ahead and added the line you had provided and i could see some results.
Thanks,
Fedrick