On 4/10/13 12:17 PM, Per Steffensen wrote:
"number of documents found" can be found in a field called "numFound"
in the response.
If you do use SolrJ you will likely have a QueryResponse qr and can
just do a qr.setNumFound().
qr.getResults().getNumFound() :-)
If you use do not use SolrJ try
"number of documents found" can be found in a field called "numFound" in
the response.
If you do use SolrJ you will likely have a QueryResponse qr and can just
do a qr.setNumFound().
If you use do not use SolrJ try to add e.g. wt=json to your search query
to get the response in JSON. Find th
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. Latel
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 dynami