: How to know how many documents are indexed? Anything more elegant than
: parsing numFound?
> $ curl "http://192.168.34.51:8080/solr/select?q=*%3A*&rows=0";
> >> resp.xml
> $ xmlstarlet sel -t -v "//@numFound" resp.xml

solr/admin/stats.jsp is actually an xml too and contains numDocs and maxDoc 
info. 

I think you can get numDocs with jmx too. http://wiki.apache.org/solr/SolrJmx

Reply via email to