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
Jul 14, 2023 (4 months ago)
Michael
Michael
11:49 AMIs there a simple way to merge the resuts of a federated search, rather than receiving them as separate objects?
Jason
Jason
03:48 PMNot 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
Michael
04:11 PMperfect. thanks.
1
Typesense
Lightning-fast, open source search engine for everyone | Knowledge Base powered by Struct.AI
Indexed 3011 threads (79% resolved)
Similar Threads
Combining and Sorting Search Results from Two Collections
Toyin asked about combining and sorting search results from two collections. Kishore Nallan confirmed that `text_match` could be used for this purpose.
3
32mo
Solved
Searching Across Multiple Collections with the Same Query
Tom was curious about executing a single query across multiple collections. John provided a solution through a link to the multi-search function of typesense.org.
3
14mo
Solved
Consolidating Multiple Collection Queries in Typesense
Cooper asked about consolidating queries from multiple collections, while Jason suggested client-side aggregation. Cooper ended up using nested objects to achieve the desired result.
4
9mo
Solved