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
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 search, how do i get the count of all
I'm assuming the question was about how MANY documents have been indexed across
all shards.
Answer #1:
Look at the Solr Admin Stats page on each of your Solr instances and add up the
numDocs numbers you see there
Answer #2:
Use Sematext's free Performance Monitoring tool for Solr
On Index repor
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