Group attachment search results with their parent results

  • Release version: Yokohama
  • Updated July 31, 2025
  • 1 minute to read
  • Configure your AI Search applications to display attachment search results grouped with the results for their parent records.

    Before you begin

    The index_attachments attribute can't be set to false for any indexed source used in the AI Search application. For details on creating and editing attributes for indexed sources, see Indexed source attributes for AI Search.
    Note:
    If you remove a index_attachments attribute value of false from an indexed source, perform a full reindex for the indexed source before continuing with this procedure. To learn how to reindex content for an indexed source, see Perform a full table index or reindex for a single AI Search indexed source.

    Role required: search_application_admin

    About this task

    Attachment grouping is enabled by default for new search application configuration records. You only need to perform this procedure to enable attachment grouping for existing search application configuration records after upgrading from a previous release.

    For details on how attachment grouping appears in the search results list and how you can interact with grouped attachment search results, see Grouping attachment search results with their parent search results.

    Procedure

    1. Navigate to All > AI Search > Search Experience > Search Applications.
    2. Select the record for the AI Search application that you want to enable attachment grouping for.
    3. Select the Show parent for results that are attachments option.
    4. Select Update.
      If any indexed source used in the search application doesn’t have the index_attachments attribute set to true, the system displays a warning message. For each affected indexed source, set the index_attachments attribute to true, then perform a full reindex.

    Result

    AI Search groups matching attachment search results with their parent record results on the search application results page.