Merge Multiple Versions of a Doc into One Result
Merge Results is a powerful and flexible tool for controlling the presentation of a search page. Instance users can prevent multiple copies of a document from cluttering the search results page or they can present all the versions of an article as one result.
How It Works
Merge Results works for searches with results. Instance users select two properties of an object:
- Primary Field. All the results whose primary field value is same are selected for grouping. For instance, if Primary Field is
Title, then all the results with the same title can be grouped. In case the Primary Field is
AuthorName, then all the same author can be grouped.
- Versioning Field. The grouped documents must have a property value which differentiates them. The property value can be the article ID or published date. The unique property value is stored used in the dropdown. In the next image, the article ID used to differentiate the grouped results.
Impact on Search
Merge Results is still in beta. When in use, it impacts user experience. The two main limitations are:
- Result count and pagination can be off the mark because many merged results are counted separately.
- No merging occurs when a facet is applied.
- From main navigation, go to Search Clients and open a search client for editing.
- In the Content Sources tab, expand a content source, select a content type, and select Merge Results.
- Enable Merge Results.
- Select a property from the Primary Field and a property from the Versioning Field and save the settings.
Last updated: Friday, February 26, 2021
Was this article helpful? Send us your review at firstname.lastname@example.org