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 <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to