Grouping attachment search results with their parent search results
Search application administrators can control whether attachment search results appear grouped with their parent search results or whether they display on their own. By default, AI Search displays attachments grouped with their parent search results.
By default, AI Search displays separate search results for the parent record and each of its attachments that matches the user's search. 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.
The maximum number of attachments per parent search result is set by the Attachment Limit field in the search application's configuration record. For details on this field, see Search Application Configuration form.
Grouped attachments in the search results UI
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 collapsed form, in descending relevancy order within the search result for their parent record.
By default, a parent search result shows up to three attachments in collapsed format. If it has more than three attachments, a Show more link appears, with a number indicating how many attachments are hidden in the current view. When you select this link, the hidden attachments appear and the link name changes to Show less. Selecting this link hides the overflow attachments again.
Viewing or downloading attachment search results
- Document Viewer is active on your instance.
- Document Viewer is enabled for the attachment's source table.
- The useAttachmentViewer EVAM property is set to true for the parent search result.
For details on activating and enabling Document Viewer, see Enable Document Viewer. To learn more about EVAM property settings for search results, see Configure EVAM display settings for search results in AI Search applications.