You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Rahul Goswami <ra...@gmail.com> on 2025/01/17 16:55:36 UTC
Relevance sorting in federated search
Hello,
Let's say I have a 4 shard Solr collection. When I query the collection,
what is the default sorting order for aggregated results assuming the
search returns several results from each shard?
I understand when querying a single core, documents are sorted based on
score. But while assessing the final order for documents across shards, are
the scores normalized in any way? Asking since my understanding is local
shard scores must be derived based on TF/IDF stats local to a shard and may
not correctly determine the relevance across shards.
Thanks,
Rahul
Re: Relevance sorting in federated search
Posted by Gus Heck <gu...@gmail.com>.
I belive you will find this section of the Ref guide helpful
https://solr.apache.org/guide/solr/9_7/deployment-guide/solrcloud-distributed-requests.html
On Sat, Jan 18, 2025, 12:56 AM Rahul Goswami <ra...@gmail.com> wrote:
> Hello,
> Let's say I have a 4 shard Solr collection. When I query the collection,
> what is the default sorting order for aggregated results assuming the
> search returns several results from each shard?
>
> I understand when querying a single core, documents are sorted based on
> score. But while assessing the final order for documents across shards, are
> the scores normalized in any way? Asking since my understanding is local
> shard scores must be derived based on TF/IDF stats local to a shard and may
> not correctly determine the relevance across shards.
>
> Thanks,
> Rahul
>