The statistics page will also give you numDocs (it is an xml response). On Fri, Sep 4, 2009 at 2:24 AM, Uri Boness <ubon...@gmail.com> wrote:
> you can use LukeRequestHandler http://localhost:8983/solr/admin/luke > > > Marc Sturlese wrote: > >> Hey there, >> I need a query to get the total number of documents in my index. I can get >> if I do this using DismaxRequestHandler: >> q.alt=*:*&facet=false&hl=false&rows=0 >> I have noticed this query is very memory consuming. Is there any more >> optimized way in trunk to get the total number of documents of my index? >> Thanks in advanced >> >> >> > -- Regards, Shalin Shekhar Mangar.