This even works if you request 0 results. --wunder On 10/11/07 1:56 AM, "Stefan Rinner" <[EMAIL PROTECTED]> wrote:
> > On Oct 10, 2007, at 6:49 PM, Chris Hostetter wrote: > >> >> : I think search for "*:*" is the optimal code to do it. I don't >> think you can >> : do anything faster. >> >> FYI: getting the data from the xml returned by stats.jsp is definitely >> faster in the case where you really want all docs. >> >> if you want the total number from some other query however, don't >> "count" >> them yourself in the client ... use <result numFound="XXX"> > > for my current use-case I gonna use the numFound property because I > can just use the solrj client for this, and don't have to add another > http-fetching & xmlparsing method. > > I overlooked the numFound property up to now but good to know. > > stefan