Re: shard.preference for single shard queries

2019-12-05 Thread Tomás Fernández Löbbe
Look at SOLR-12217, it explains the limitation and has a patch for SolrJ cases. Should be merged soon. Note that the combination of replica types you are describing is not recommended. See https://lucene.apache.org/solr/guide/8_1/shards-and-indexing-data-in-solrcloud.html#combining-replica-types-i

shard.preference for single shard queries

2019-12-05 Thread spanchal
Hi all, Thanks to SOLR-11982 we can now give solr parameter to sort replicas while giving results but ONLY for distributed queries as per documentation. May I know why this limitation? As my setup, I have 3 replicas(2 NRT, 1 PULL) of a single s