Search sources in AI Search
Summarize
Summary of Search Sources in ServiceNow AI Platform
Search sources in ServiceNow AI Platform allow you to define and configure searchable content for user search experiences. By creating search sources, you can specify indexed sources and apply filter conditions to tailor search results according to user needs.
Show less
Key Features
- Indexed Source Reference: Each search source references an indexed source, enabling queries to return all records from that source by default.
- Filter Conditions: Optional filters can be applied to restrict the records returned based on specific criteria. Only indexed fields can be used for filtering; referenced record fields must first be indexed.
- Dynamic Filtering: You can implement static and dynamic filters for more specific results, such as showing only records assigned to the current user.
- Linking to Search Profiles: Search sources must be linked to search profiles to make their content accessible to users. Multiple search sources can be linked to a single profile.
- Viewing and Editing: Search sources can be viewed or modified through various application modules, providing easy management of your searchable content.
Key Outcomes
By effectively configuring search sources, you enhance the search experience for users by delivering relevant content based on their specific queries. This customization not only improves usability but also ensures that users can quickly find the information they need within the ServiceNow platform.
Define search sources to make your searchable content available in search experiences. Choose an indexed source and configure optional filter conditions to limit the content that users can search.
Search source structure
- A reference to an indexed source. By default, search queries using the search source can return all records from the referenced indexed source. For more information on indexed sources, see Indexed sources in AI Search.
- An optional set of filter conditions applied to the indexed source's records. Indexed source records must pass all of these filter conditions to be returned as search results for queries using the search source.
You can define multiple search sources that reference the same indexed source, specifying distinct filter conditions for each.
Filter conditions
You can use static and dynamic filter conditions to filter search source records. As an example, you could apply a dynamic [Assigned to] [is (dynamic)] [Me] user filter to make your search source only return results corresponding to indexed source table records assigned to the search user.
- Dynamic filters with scripts that use the current keyword or global variable
- Dynamic filters with scripts that reference any global business rules
- Dynamic filters with scripts that use script includes
For more information on filter conditions, see Filters. To learn about dynamic filter options and their associated scripts, see Create a dynamic filter option.
Linking search sources to search profiles
To make your search source's content available to users, link it to one or more search profiles. You can link multiple search sources to a single search profile.
For more information, see Link a search source to a search profile.
Viewing search sources
- To view all defined search sources, navigate to .
- To view search sources that reference a particular indexed source, navigate to . Open the indexed source and select its Search Source Mappings related list.
- To view search sources linked to a particular search profile, navigate to . Open the search profile and select its Search Sources related list.