Solr does not calculate universal term/doc frequencies, it is done per node. For most large-scale implementations, it is not likely to matter that Solr calculates TD/IDF at the shard level. However, if your collection is heavily skewed in its distribution across servers, you may find misleading relevancy results in your searches. In general, it is probably best to randomly distribute documents to your shards.
More on this here: https://cwiki.apache.org/confluence/display/solr/Distributed+Search+with+Index+Sharding