Indexing content from AI Search indexed sources

  • Release version: Yokohama
  • Updated July 28, 2025
  • 3 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 Indexing content from AI Search indexed sources

    AI Search in ServiceNow indexes records from defined indexed source tables to make their content searchable. It automatically updates the search index based on create, update, and delete operations on records in the source table and its child tables. Unmodified records are not indexed until a full table index is performed.

    Show full answer Show less

    Indexing Referenced Tables

    By default, AI Search indexes only the values of reference fields from referenced tables, not other fields within those tables. To include additional fields from referenced tables in the index, you can configure dotwalkfields to use these fields in filters and facets, and searchabledotwalkfields to make those fields searchable. Both settings can be applied to the same reference field for enhanced search capabilities.

    Indexing Attachments

    AI Search indexes searchable content and metadata from attachments on source records, supporting common formats such as HTML, Microsoft Office files, PDFs, and plain text, with a maximum file size of 25 MB. Keyword indexing processes up to 1 MB of text, while semantic search supports larger files up to 25 MB. Encrypted attachments have limited indexing, capturing metadata but not searchable content. Attachment indexing is controlled by the indexed source’s indexattachments attribute and can be enabled or verified as needed.

    Indexing Tags

    Tags on source records can be indexed based on their visibility, but this is disabled by default. You can enable tag indexing per indexed source and choose to index either all shared and globally visible tags or only globally visible tags, enhancing search relevance based on tag data.

    Special Considerations for Task Table

    When indexing the Task table or its child tables, specifying a retention policy is mandatory to manage indexed data lifecycle effectively.

    Reindexing Content

    A full table reindex is necessary when you add, modify, or delete indexed source attributes or field settings, or when you update indexing configurations for referenced table fields. Reindexing ensures that the search index reflects these changes accurately.

    Performing Full Table Index or Reindex

    You can manually perform a full table index to make existing records from one or multiple internal indexed sources searchable. This process indexes records from source tables and their child tables, allowing you to keep search content current and comprehensive.

    AI Search indexes records on indexed source tables to make their content searchable.

    After you define an indexed source, AI Search begins automatically indexing to reflect changes to records in the selected source table and its specified child tables. The results of all record create, update, and delete operations in these tables are reflected in the search index. AI Search doesn't index content from unmodified records in these tables until you perform a full table index.

    Indexing content from referenced tables

    When an indexed source table includes a reference field that stores a reference to another table, AI Search defaults to indexing values for the reference field but not for other fields on the referenced table. For example, the User [sys_user] table includes a company reference field that stores a reference to the Company [core_company] table. When indexing records from the User table, AI Search indexes values for the company reference field, but doesn't index values for other Company table fields such as city or website.

    To index additional fields from referenced tables, you can configure dot_walk_fields and searchable_dot_walk_fields field settings for reference fields on your indexed source table.
    • To use field values from referenced tables in search source filters, facet filters, and EVAM search result configurations, create a dot_walk_fields field setting.
    • To make field values from referenced tables searchable, create a searchable_dot_walk_fields field setting.

    You can create both dot_walk_fields and searchable_dot_walk_fields field settings for the same reference field.

    For instructions on configuring dot_walk_fields and searchable_dot_walk_fields field settings, see Enable indexing of referenced table fields for an AI Search indexed source. For more information on field settings, see Field settings for AI Search. To learn about search source filters, see Search sources in AI Search. For details on facet filters, see Create a facet in an AI Search application configuration. To understand EVAM configurations, see Entity View Action Mapping.

    Indexing content from source record attachments

    By default, AI Search indexes searchable content and metadata (such as file size and date) for attachments found on source table records. Indexing supports the following attachment file formats:
    • Active Server Page Extended (.aspx)
    • Hypertext Markup Language (.html, .htm)
    • Microsoft Excel (.xls, .xlsx)
    • Microsoft PowerPoint (.pot, .potx, .ppt, .pptm, .pptx)
    • Microsoft Word (.doc, .docx, .dot, .dotx)
    • Plain Text (.txt)
    • Portable Document Format (.pdf) with searchable text
    Note:
    The maximum file size for binary files is 25 MB. Keyword indexing processes up to the first 1MB of text. Use semantic search to index data containing between 1MB and 25 MB of text.
    AI Search provides limited support for encrypted record attachments:
    • When indexing an encrypted attachment, AI Search extracts metadata such as file size and date, but doesn't extract searchable content.
    • The encrypted attachment's MIME type is detected as application/octet-stream.
    • No feedback for the encrypted attachment appears in ingestion log messages.

    Attachment indexing is controlled by an indexed source's index_attachments attribute. To verify that attachment indexing is enabled for an indexed source, see Enable indexing of attachments for an AI Search indexed source.

    Indexing content from source record tags

    AI Search can index tags found on source table records. Search results display indexed tags based on the visibility of the result record instead of the visibility of the tag.

    By default, indexing ignores tags from source records. You can enable indexing of tags for each indexed source. Choose whether you want to index all shared and globally visible tags or just globally visible tags.

    For details on enabling tag indexing for an indexed source, see Enable indexing of tags for an AI Search indexed source.

    Indexing content from the Task table and its child tables

    When defining an indexed source that indexes records from the Task table or any of its child tables, you must specify a retention policy. For details on retention policies, see Indexed source retention policies and filter conditions.

    Reindexing content

    You must perform a full table reindex for an indexed source under the following circumstances:
    • After you add, modify, or delete an indexed source attribute or a field setting for the indexed source.
    • If you want to update indexed values for fields on tables referenced by source table records. As an example, the company field on the User [sys_user] table stores a reference to the Company [core_company] table. If you configure indexing for values for fields on the referenced Company table, such as city or website, you must reindex the User table to update those indexed Company table field values. For details on configuring indexing of referenced table fields, see Enable indexing of referenced table fields for an AI Search indexed source.