Re: Programmatically retrieving numDocs (or any other statistic)

2010-07-30 Thread Chris Hostetter
: I want to programmatically retrieve the number of indexed documents. I.e., get the value of numDocs. Index level stats like this can be fetched from the LukeRequestHandler in any recent version of SOlr... http://localhost:8983/solr/admin/luke?numTerms=0 In future releases (ie: alread

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

Re: Programmatically retrieving numDocs (or any other statistic)

2010-07-30 Thread Otis Gospodnetic
gt; To: solr-user@lucene.apache.org > Sent: Fri, July 30, 2010 1:39:03 PM > Subject: Programmatically retrieving numDocs (or any other statistic) > > I want to programmatically retrieve the number of indexed documents. I.e., > get >the value of numDocs. > > The only

Re: Programmatically retrieving numDocs (or any other statistic)

2010-07-30 Thread Peter Karich
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., > get the value of numDocs. > > The only two ways I've come up with

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