Re: get a total count

2012-05-03 Thread Shawn Heisey
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

Re: get a total count

2012-05-01 Thread Rahul R
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! > > > > > > >

Re: get a total count

2011-11-15 Thread Otis Gospodnetic
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, >

Re: get a total count

2011-11-15 Thread Erick Erickson
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

get a total count

2011-11-14 Thread U Anonym
Hello everyone, A newbie question: how do I find out how documents have been indexed across all shards? Thanks much!