Re: Get total number of results
http://lucene.apache.org/java/3_0_2/api/core/org/apache/lucene/search/TopDocsCollector.html#getTotalHits%28%29 -- Ian. On Mon, Sep 13, 2010 at 10:46 AM, liat oren wrote: > Hi, > > I need to give the user the total number of results when running a query. > > Currently I use the TopDocCollector
Get total number of results
Hi, I need to give the user the total number of results when running a query. Currently I use the TopDocCollector to get the top 200 documents. How can I know the total number of results? Thanks a lot, Liat