[ https://issues.apache.org/jira/browse/SOLR-12217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16979812#comment-16979812 ]
David Smiley commented on SOLR-12217: ------------------------------------- I understand you Tomas (and Houston). > This patch doesn’t solve the case where a random node that doesn’t have the >collection receives the request That right there is my point. It's solveable. The Solr side needs to know wether or not to behave like a SolrJ client itself (thus act like a load-balancer) or to handle the request locally always. If CloudSolrClient sent the request then the Solr side can ignore shards.preference. Any way, again, I understand such a thing would best be its own issue. > Add support for shards.preference in single shard cases > ------------------------------------------------------- > > Key: SOLR-12217 > URL: https://issues.apache.org/jira/browse/SOLR-12217 > Project: Solr > Issue Type: New Feature > Reporter: Tomas Eduardo Fernandez Lobbe > Priority: Major > Time Spent: 1h 10m > Remaining Estimate: 0h > > 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 -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org