#community-help

Merging Federated Search Results in Typesense

TLDR Michael asked how to merge federated search results. Jason explained it should be done on the client-side, using the text match score.

Powered by Struct AI

1

3
4mo
Solved
Join the chat
Jul 14, 2023 (4 months ago)
Michael
Photo of md5-0cab3a3dbc3934c73e95b7a427d8934e
Michael
11:49 AM
Is there a simple way to merge the resuts of a federated search, rather than receiving them as separate objects?
Jason
Photo of md5-8813087cccc512313602b6d9f9ece19f
Jason
03:48 PM
Not on the Typesense server side. But you can do this on the client-side by aggregating using the text match score inside each hit - theyโ€™re comparable across collections
Michael
Photo of md5-0cab3a3dbc3934c73e95b7a427d8934e
Michael
04:11 PM
perfect. thanks.

1