lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <>
Subject Re: Hits Max # of documents?
Date Mon, 01 Dec 2008 11:45:15 GMT
I'm not sure about .NET, but there should be a version of the search()  
method that returns a TopDocs instance.

Looks like:  TopDocs td =, int)
where the int is the number of results you want back, in your case,  


On Dec 1, 2008, at 6:38 AM, Ian Vink wrote:

> (I'm using Lucene.NET but the APIs are close enough)
> I'd like the search to always return all documents always. I notice  
> that it
> 'seems'  to return a percentage of them.
> Hits myHits =;
> Is what I use.
> Is there a way to force the searcher to give me everything?
> Ian

Grant Ingersoll

Lucene Helpful Hints:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message