You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Oliver Schrenk <ol...@gmail.com> on 2014/04/02 17:50:47 UTC
Get number of documents in a new (not visible) Searcher
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
Re: Get number of documents in a new (not visible) Searcher
Posted by Ahmet Arslan <io...@yahoo.com>.
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 <ol...@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
Re: Get number of documents in a new (not visible) Searcher
Posted by Ahmet Arslan <io...@yahoo.com>.
Hi Oliver,
You can get docsPending
http://localhost:8983/solr/admin/mbeans?cat=UPDATEHANDLER&stats=true
https://cwiki.apache.org/confluence/display/solr/MBean+Request+Handler
Ahmet
On Wednesday, April 2, 2014 7:42 PM, Oliver Schrenk <ol...@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