Search sources in AI Search

  • Release version: Australia
  • Updated March 12, 2026
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Search Sources in AI Search

    Search sources in AI Search allow you to define and manage searchable content for enhanced search experiences. By referencing an indexed source and applying optional filter conditions, you can control the content available to users during search queries.

    Show full answer Show less

    Key Features

    • Indexed Source Reference: A search source references an indexed source, enabling search queries to access all records from that source by default.
    • Filter Conditions: You can apply optional filter conditions to limit search results. Only records meeting all specified conditions will be returned.
    • Multiple Search Sources: You can create multiple search sources that reference the same indexed source but with different filter conditions.
    • Filter Condition Limitations: Filters can only operate on indexed source record fields. Referenced record fields must be indexed to be used in filter conditions.
    • Linking to Search Profiles: To make your search sources available to users, link them to one or more search profiles, allowing for organized access to content.
    • Viewing Search Sources: Easily view and edit search sources through various application modules within ServiceNow.

    Key Outcomes

    By effectively configuring search sources, ServiceNow customers can enhance their search functionality, ensuring that users receive relevant results tailored to their needs. This capability improves user experience and facilitates easier access to crucial information within the 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 search source includes two elements:
    • 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

    To limit the set of indexed source table records that AI Search returns as search results, you can apply filter conditions to your search source.
    Note:
    Search source filter conditions can only operate on source record fields that are indexed. Fields on referenced records aren't indexed by default. To use a referenced record field in a search source filter condition, you must first configure indexing for the field in the indexed source. For details on this procedure, see Enable indexing of referenced table fields for an AI Search indexed source.

    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.

    Search sources don't support any of the following filter options:
    • Filters that reference fields from child tables of the indexed source table. As an example, if you create an indexed source for the Task [task] table, search sources for that indexed source can't use filters to reference fields from the Incident [incident] table because the Incident table is a child of the Task table.
    • 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 relationships between parent and child tables, see Table extension and classes. For details on 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

    You can view or edit search sources from any of the following application modules:
    • To view all defined search sources, navigate to All > AI Search > Search Experience > Search Sources.
    • To view search sources that reference a particular indexed source, navigate to All > AI Search > AI Search Index > Indexed Sources. Open the indexed source and select its Search Source Mappings related list.
    • To view search sources linked to a particular search profile, navigate to All > AI Search > Search Experience > Search Profiles. Open the search profile and select its Search Sources related list.