RE: CloudDescriptor.getNumShards() sometimes returns null

2017-05-03 Thread Markus Jelsma
Any ideas on this one? I am still puzzled by this oddity. Many thanks, Markus -Original message- > From:Markus Jelsma > Sent: Monday 24th April 2017 17:10 > To: solr-user@lucene.apache.org; solr-user > Subject: RE: CloudDescriptor.getNumShards() sometimes returns nul

RE: CloudDescriptor.getNumShards() sometimes returns null

2017-04-24 Thread Markus Jelsma
Sorry, forgot to mention the version, it is on 6.5.0. Thanks, Markus -Original message- > From:Erick Erickson > Sent: Monday 24th April 2017 16:50 > To: solr-user > Subject: Re: CloudDescriptor.getNumShards() sometimes returns null > > What version of Solr? This

Re: CloudDescriptor.getNumShards() sometimes returns null

2017-04-24 Thread Erick Erickson
ks, > Markus > > > -Original message- >> From:Markus Jelsma >> Sent: Friday 14th April 2017 17:25 >> To: solr-user >> Subject: CloudDescriptor.getNumShards() sometimes returns null >> >> Hi - I've got this 2 shard/2 replica c

RE: CloudDescriptor.getNumShards() sometimes returns null

2017-04-24 Thread Markus Jelsma
getNumShards() sometimes returns null > > Hi - I've got this 2 shard/2 replica cluster. In handler i need the number of > shards of the cluster. > > cloudDescriptor = core.getCoreDescriptor().getCloudDescriptor(); > return cloudDescriptor.getNumShards(); >

CloudDescriptor.getNumShards() sometimes returns null

2017-04-14 Thread Markus Jelsma
Hi - I've got this 2 shard/2 replica cluster. In handler i need the number of shards of the cluster. cloudDescriptor = core.getCoreDescriptor().getCloudDescriptor(); return cloudDescriptor.getNumShards(); It is, however, depending on which node is executing this, sometimes null!