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

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 in

Re: Autocommit not happening

2010-07-23 Thread John DeRosa
There are two parts to the story: Part One is where I realize my > config was not contained within my . In > Part Two I realized I had typed "" rather than > "". > > --jay > > On Fri, Jul 23, 2010 at 2:35 PM, John DeRosa wrote: >> On Jul 23, 2010,

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. > [snip] "Never mind"... I have discovered my boneheaded mistake. It's so silly, I wish I could retract my question from the archives.

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.

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 tomc