Re: getting number of stored documents via rest api

2007-10-11 Thread Stefan Rinner
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 th

getting number of stored documents via rest api

2007-10-10 Thread Stefan Rinner
Hi for some tests I need to know how many documents are stored in the index - is there a fast & easy way to retrieve this number (instead of searching for "*:*" and counting the results)? I already took a look at the stats.jsp code - but there the number of documents is retrieved via an api

defining fiels to be returned when using mlt

2007-08-22 Thread Stefan Rinner
Hi Is there any way to define the numer/type of fields of the documents returned in the "moreLikeThis" part of the response, when "mlt" is set to true? Currently I'm using morelikethis to show the number and sources of similar documents - therefore I'd need only the "source" field of th