: 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
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
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
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
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