Define an encoded query for knowledge articles that you want to make searchable in any language.
Before you begin
Role required: ais_admin
About this task
By default, AI Search only matches translated content records, such as knowledge articles, that are in the user's ServiceNow AI Platform® session language. For example, a user searching from a Spanish user session only matches Spanish knowledge articles. For full details on this restriction, see Searching translated content.
Note:
If you've configured a global fallback locale, search can match translated content records in that locale's language as well as in the user's session language. For more
details on this approach, see Enable a global fallback locale for translated content.
To enable users to search for knowledge articles in any language, you can define an encoded query as the value of the glide.ais.global_searchable_filter.kb_knowledge system property. Records that match this
query are globally searchable, meaning they bypass the normal language filters and can be matched regardless of the search's language. As an example, a user searching from a German user session can match English or
Japanese knowledge articles as long as they match the encoded query.Figure 1. Search result languages with globally searchable articles
Navigate to the System Property [sys_properties] table's list view.
Select All.
In the Filter field, enter sys_properties.list.
Press Enter.
Open the glide.ais.global_searchable_filter.kb_knowledge system property record.
In the Value field, enter a filter expression specifying the knowledge articles that you want to make globally searchable.
Select Update.
Result
Knowledge articles that match your encoded query can be returned as results for user searches in any language.
Make knowledge articles in the Email category globally searchable
Here is an example that defines the encoded query kb_category=5681bf8bff0221009b20ffffffffff95 to make knowledge articles in the Email category globally searchable.
Figure 2. Email category encoded query for knowledge articles