Understanding Rank Fusion Score in Typesense's Multi-Search
TLDR Ayush had queries about comparing rank_fusion_score
across collections in Typesense's hybrid search. They were explained and clarified by Kishore Nallan on how the score works and how it could be manipulated for their use-case.
Aug 28, 2023 (1 month ago)
Ayush
12:34 PMrank_fusion_score
in different collections. Can these scores be compared across various collections?Further is there a recommend or existing way to combine across collections ( mostly by with shared properties) then rank them using either
rank_fusion_score
or vector distance ?Kishore Nallan
03:47 PMKishore Nallan
03:47 PMAyush
08:26 PMTo provide further clarity on the second question, let's consider two collections: Collection A and its sub-collection, Collection B.
Our objective is to establish a ranking system utilizing the
rank_fusion_score
.In essence, we aim to rank a document in Collection A based on both its inherent
rank_fusion_score
and the cumulative rank_fusion_score
of all the document hits present in Collection B that are linked to the corresponding document in Collection A.The question arises: Should we simply aggregate the
rank_fusion_score
values from the hits in Collection B that are associated with the specific document in Collection A? Or is there a distinct approach for merging and subsequently ranking these scores?Aug 29, 2023 (1 month ago)
Ayush
11:55 AMrank_fusion_score
are based on the semantic and keyword ranks [Source]? How are they calculated are they just the indexes in the corresponding search hits ?Or are ranks and scores used interchangeably?
Kishore Nallan
12:24 PMTypesense
Indexed 2776 threads (79% resolved)
Similar Threads
Reranking Search Results from Different Sources
Viktor seeks advice on reranking search results. Kishore Nallan suggests hybrid search and custom ranking algorithms. John recommends Metarank as a potential solution.
Using Typesense for Search Weighting
Michael asked about using Typesense for search weighting parameters. Kishore Nallan explained that 3 sorting fields are allowable, suggesting int value bit packing for additional fields.
Moving from Algolia to Typesense: Questions and Answers
Juan sought advice from Kishore Nallan about moving from Algolia to Typesense, handling MultiSearch, setting parameters, checking imported documents, and a specific syntax query.