Using the search results page - search result grouping (result collapsing)
Result collapsing groups similar search results together when displaying search results. The key or keys used for collapsing are configured by a search administrator and are based on either the documents content, or the document’s metadata.
For example, the result item below from a search of the complete works of Shakespeare shows that there are 21 very similar results to the Merchant of Venice: list of scenes result. This search has been configured to group or collapse all search results that are tagged with the same metadata value for a field recording the name of the play.
Clicking on the 21 very similar results lists the 22 search results that form part of this group (the list of scenes result plus the 21 similar results).
The initial search result can also be customised to show some additional information for the collapsed results.
The example result below, from another site groups sections of a publication together. The search result is configured to display the title of the first four collapsed items with a More… link which is the same as the 21 similar items link in the previous example.