I'd add rows=0, just to avoid the actual records serialization if size is all that matters.
Regards, Alex. Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Fri, Apr 5, 2013 at 8:26 AM, Jack Krupansky <j...@basetechnology.com>wrote: > Query for "*:*" and look at the number of documents found. > > -- Jack Krupansky > > -----Original Message----- From: Ranjith Venkatesan > Sent: Friday, April 05, 2013 2:06 AM > To: solr-user@lucene.apache.org > Subject: Solr Collection's Size > > > Hi, > > I am new to solr. I want to find size of collection dynamically via solrj. > I > tried many ways but i couldnt succeed in any of those. Pls help me with > this > issue. >