We have records with the same title but different versions.
We want to group those results and not de-duplication them.
For example, one search result with the ability to collapse and extend the other results.
Any ideas?
Thanks
Hello!
You could achieve this with a custom template and using transformItems in the Hits to combine the records that need to be combined.
For example, in the transformItems
function, as you are parsing the Hits, you can keep a reference to which titles you have processed, and if a duplicate appears add some logic to add it to the existing record versus adding it to the overall Hits list.
Happy to help with any code samples, thanks!