Indexing content from AI Search indexed sources

  • Release version: Australia
  • Updated March 12, 2026
  • 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 specified source tables and their child tables to make content searchable. It automatically updates the index as records are created, updated, or deleted, but unmodified records require a full table index to be included. This indexing extends to referenced tables, attachments, tags, and specific configurations such as the Task table with retention policies.

    Show full answer Show less

    Indexing Referenced Tables

    By default, AI Search indexes only the reference field values pointing to other tables, not the fields within those referenced tables. To include additional fields from referenced tables in search results, you must configure dotwalkfields (for filters and facets) and searchabledotwalkfields (for making fields searchable) field settings on the indexed source. These configurations allow enhanced search capabilities using related table data.

    Indexing Attachments

    AI Search indexes the content and metadata of attachments on source records for various common file formats (e.g., Microsoft Office files, PDFs, HTML, plain text) up to 25 MB in size. Keyword indexing covers the first 1 MB of text, while semantic search supports larger content. Note that encrypted attachments only have metadata indexed, not their content, and attachment indexing can be enabled or disabled per indexed source.

    Indexing Tags

    Tags on source table records can be indexed but are ignored by default. You can enable indexing of tags per indexed source and choose whether to include all shared tags or only globally visible tags. Search results display tags based on the visibility of the record, not the tag itself.

    Special Considerations for the Task Table

    When indexing the Task table or its child tables, a retention policy must be specified to manage indexed data lifecycle.

    Reindexing and Full Table Index

    A full table index or reindex is required in the following scenarios:

    • After adding, modifying, or deleting indexed source attributes or field settings.
    • To update indexed values for fields on referenced tables after configuring dotwalkfields or searchabledotwalkfields.

    Performing a full table index ensures that existing records from the source and child tables are searchable. This process can be done for individual or multiple indexed sources as needed to keep search results 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.