Autocommit not happening

2010-07-23 Thread John DeRosa
Hi! I'm a Solr newbie, and I don't understand why autocommits aren't happening in my Solr installation. My one server running Solr: - Ubuntu 10.04 (Lucid Lynx), with all the latest updates. - Solr 1.4.0 running on Tomcat6 - Installation was done via apt-get install solr-common solr-tomcat

Re: Autocommit not happening

2010-07-23 Thread John DeRosa
On Jul 23, 2010, at 9:37 AM, John DeRosa wrote: Hi! I'm a Solr newbie, and I don't understand why autocommits aren't happening in my Solr installation. My one server running Solr: - Ubuntu 10.04 (Lucid Lynx), with all the latest updates. - Solr 1.4.0 running on Tomcat6 - Installation

Re: Autocommit not happening

2010-07-23 Thread John DeRosa
to the story: Part One is where I realize my autoCommit config was not contained within my updateHandler. In Part Two I realized I had typed autocommit rather than autoCommit. --jay On Fri, Jul 23, 2010 at 2:35 PM, John DeRosa jo...@ipstreet.com wrote: On Jul 23, 2010, at 9:37 AM, John DeRosa wrote

Programmatically retrieving numDocs (or any other statistic)

2010-07-30 Thread John DeRosa
I want to programmatically retrieve the number of indexed documents. I.e., get the value of numDocs. The only two ways I've come up with are searching for *:* and reporting the hit count, or sending an Http GET to http://xxx.xx.xxx.xxx:8080/solr/admin/stats.jsp#core and searching for stat

Re: Programmatically retrieving numDocs (or any other statistic)

2010-07-30 Thread John DeRosa
Thanks! On Jul 30, 2010, at 1:11 PM, Peter Karich wrote: Both approaches are ok, I think. (although I don't know the python API) BTW: If you query q=*:* then add rows=0 to avoid some traffic. Regards, Peter. I want to programmatically retrieve the number of indexed documents. I.e.,