---
sourceDocument: Xanadu ServiceNow AI Platform Administration
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/platform-administration

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu ServiceNow AI Platform Administration

ft:clusterId :

    - platadm

bundleId :

    - platadm

workflow :

    - Platform


---

# Group attachment search results with their parent results

# Group attachment search results with their parent results {#ariaid-title1}

* Release version: Xanadu
* 
* Updated July 16, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes 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](https://servicenow-prod.fluidtopics.net/mzacd2zfN8fz4i3I_HiyFw#indexed-source-attributes-ais "An indexed source attribute defines indexing behavior for all records from an indexed source.").  
Note:  
If you remove a false index_attachments attribute value 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](https://servicenow-prod.fluidtopics.net/ylmJp1OFiNmWvOFFxmjvuw "Make content from an internal indexed source searchable by performing a full table index. This procedure indexes existing records from the source table and any child tables configured for indexing. You can manually reindex content from an internal indexed source by repeating this procedure.").

Role required: search_application_admin

## About this task

Search administrators can enable grouping of attachment search results with the results for their parent records. With this option enabled, search results for attachments that match a user's search display inline with the
search results for their parent record.

If the parent record itself or any of its attachments matches the user's search, the parent record appears in the search result list. Grouped attachments that match the search appear in descending relevancy order within the
search result for their parent record.

When attachment grouping is in use, AI Search computes relevancy scores for the parent record and each of its grouped attachments. The final relevancy score of the grouped search result is the highest of these individual relevancy
scores.  
Figure 1. Sample results page showing attachment results grouped with parent result  
By default, AI Search displays separate search results for the parent record and each of its attachments that matches the user's search. With attachment grouping enabled, you can view all matching attachments for a record in a single search result, instead of needing to collate information from multiple search results.  
Note:  
When you select a grouped attachment search result, AI Search logs click rank signal data for the parent record search result. All other search signal data is specific to the selected attachment record. For more details on search signal logging, see [Search signal tables](https://servicenow-prod.fluidtopics.net/TUyF9Pt7_PL2PQf57VNbKA "Search uses tables to store details from user searches, search refinements, and interactions with search results. These details are called search signals. Data from the search signal tables helps improve the relevancy of search results in your system.").

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.

## Procedure

1. Navigate to AllAI SearchSearch ExperienceSearch 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.

*[\>]: and then


