On 5/1/2012 8:57 AM, Rahul R wrote:
Hello,
A related question on this topic. How do I programmatically find the total
number of documents across many shards ? For EmbeddedSolrServer, I use the
following command to get the total count :
solrSearcher.getStatistics().get("numDocs")
With distributed
matext.com/ :: Solr - Lucene - Nutch
> Lucene ecosystem search :: http://search-lucene.com/
>
>
> >
> >From: U Anonym
> >To: solr-user@lucene.apache.org
> >Sent: Monday, November 14, 2011 11:50 AM
> >Subject: get a total count
> >
> >Hello everyone,
> >
> >A newbie question: how do I find out how documents have been indexed
> >across all shards?
> >
> >Thanks much!
> >
> >
> >
>
http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/
>
>From: U Anonym
>To: solr-user@lucene.apache.org
>Sent: Monday, November 14, 2011 11:50 AM
>Subject: get a total count
>
>Hello everyone,
>
Not sure I understand the question. You have to specifically address the docs
to a particular shard when indexing, so you should know already. Solr
automagically distributes *queries* across shards (if you've configured
your installation for it), but not docs during indexing.
If that makes no sens
Hello everyone,
A newbie question: how do I find out how documents have been indexed
across all shards?
Thanks much!