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 <oren.l...@gmail.com> wrote: > 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 > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org