Re: Migrating from Solr 6.6 getStatistics() to Solr 7.x

2018-04-06 Thread ziqi zhang
Thank you! On Fri, Apr 6, 2018 at 10:34 PM, Chris Hostetter wrote: > > : In my Solr 6.6 based code, I have the following line that get the total > : number of documents in a collection: > : > : totalDocs=indexSearcher.getStatistics().get("numDocs")) > ... > : With Solr 7.2.1, 'getStatist

Re: Migrating from Solr 6.6 getStatistics() to Solr 7.x

2018-04-06 Thread Chris Hostetter
: In my Solr 6.6 based code, I have the following line that get the total : number of documents in a collection: : : totalDocs=indexSearcher.getStatistics().get("numDocs")) ... : With Solr 7.2.1, 'getStatistics' is no longer available, and it seems that : it is replaced by 'collectionSta