On 3/29/2023 9:09 PM, Anjali Maurya wrote:
We have seen that rid is not coming in logs if we are querying on a single
shard collection. But if we are querying on a multiple shards collection
then rid is coming in the logs.
Is there any specific reason for this?
SolrCloud adds the rid parameter when it accesses another core via HTTP.
If there is one server and the collection has only one shard with no
redundancy, then Solr will never need to talk to another core to satisfy
the request, which means that the rid parameter will not be added.
I do not know how the value of the parameter is chosen or whether the
value has any significance to anything outside of SolrCloud internals.
Thanks,
Shawn