On 12/5/2013 2:27 AM, sling wrote: > By the way, the "shards" param is running ok with the value > "localhost:7574/solr,localhost:8983/solr" or "shard2", > but it get an exception with only one replica "localhost:7574/solr"; > > right: > shards=204.lead.index.com:9090/solr/doc/,66.index.com:8080/solr/doc/ > wrong: shards=204.lead.index.com:9090/solr/doc/ > why can't this param run with only one replica?
I wasn't even aware that you could use the traditional shards parameter in conjunction with SolrCloud, but it's documented on the wiki, so I guess you can. I don't know if the behavior you are seeing should be considered a bug or if it is expected, but if you want to only query one specific core, you can do so by sending your request directly to that core with a "distrib=false" parameter. I'll leave the question of whether this is a bug or not to someone who knows how it should operate. Thanks, Shawn