lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: Limiting hit count
Date Fri, 13 Feb 2004 14:12:11 GMT
On Friday 13 February 2004 15:02, Erik Hatcher wrote:
> Use a HitCollector and grab the first one that comes in, then bail out.
>   That should do the trick for getting the first hit only.

According to the API docs I ought to use HitCollector only if I need all 
hits :-) And there's certainly a reason for it - I don't think that this will 
speed up the search ;)

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

View raw message