lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <>
Subject 6.6.0 getNumShards() NPE?!
Date Thu, 10 Aug 2017 10:34:22 GMT

Having trouble, again, with CloudDescriptor and friend, getting the number of shards of the
collection. It sometimes returns 1 for a collection of two shards. Having this code:

      cloudDescriptor = core.getCoreDescriptor().getCloudDescriptor();
      return cloudDescriptor.getNumShards();

In some cases cloudDescriptor.getNumShards() throws an NPE. Am i doing something wrong?


View raw message