Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
8.4, 9.0
-
None
Description
SOLR-11982 Added support for shards.preference, a way to define the sorting of replicas within a shard by preference (replica types/location). This only works on multi-shard cases. We should add support for the case of single shards when using CloudSolrClient. We should also add support for Streaming Expressions, since they also send requests to individual shards.
NOTE: This Jira doesn't cover the single-sharded collections cases when not using the CloudSolrClient or Streaming Expressions (i.e. if you do a non-streaming curl request to a random node in the cluster, the shards.preference parameter is not considered in the case of single shards collections).