You're mixing a couple of things here. 1> With SolrCloud, you don't need to specify shards. That's only really for non-SolrCloud mode. 2> You can add &distrib=false to your query to only return the results from the node you direct the query to.
e.g. http://localhost:7574/solr/collection1/select?q=*:*&distrib=false or http://localhost:8983/solr/collection1/select?q=*:*&distrib=false Best Erick On Wed, Jul 24, 2013 at 4:42 AM, vicky desai <vicky.de...@germinait.com> wrote: > I m not bothered about the leader. I just want to check if a particluar core > is up on a particular solr instance. > > My Use case is as follows > I have to create a core on one instance and then there is some DB code. If > after creating the core the DB action fails then the entire task is repeated > again. at this point I need to find out if the core was successfully created > on that machine or not > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Querying-a-specific-core-in-solr-cloud-tp4079964p4079973.html > Sent from the Solr - User mailing list archive at Nabble.com.