On Oct 8, 7:38 am, chimera9...@yahoo.com wrote:
> Hi,
> we have just started using Lucene, and have a couple of questions. Can
[quoted text clipped - 3 lines]
> BR
> Mikal
You can use IndexSearcher.search(weight, filter, nDocs) API. You can
pass null for filter and nDocs can be the top n results you'd want. I
have not tested this as I always pull the actual number..to show the
users a message like 'Your query matched x results, showing 1-10 of
x'.
-cheers,
Manish