lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Get number of documents in a new (not visible) Searcher
Date Wed, 02 Apr 2014 19:56:01 GMT
Hi Oliver,

You can see docsPending:30
adds:30 in  plugin stats section. 

http://localhost:8983/solr/#/collection1/plugins/updatehandler?entry=updateHandler

These parameters are exposed via JMX. https://cwiki.apache.org/confluence/display/solr/Using+JMX+with+Solr

Alternative way is to use : https://cwiki.apache.org/confluence/display/solr/MBean+Request+Handler

http://localhost:8983/solr/admin/mbeans?stats=true&cat=UPDATEHANDLER&wt=json


Ahmet


On Wednesday, April 2, 2014 7:42 PM, Oliver Schrenk <oliver.schrenk@gmail.com> wrote:
Hi,

We have a SolrCloud 4.7 cluster with five machines and index in a distributed 
fashion.

When finished adding and deleting documents, we want to commit programmaticly
and switch to a new searcher. But before doing that we want to make a final 
check that the number of documents have not changed dramatically.

How do I check the number of documents in the new but not yet open index?

Regards
Oliver 

Mime
View raw message