lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul J. Lucas" <p...@lucasmail.org>
Subject Re: Migrating from Hit/Hits to TopDocs/TopDocCollector
Date Thu, 11 Jun 2009 00:38:35 GMT
On Jun 10, 2009, at 5:02 PM, Yonik Seeley wrote:

> On Wed, Jun 10, 2009 at 7:58 PM, Daniel Noll <daniel@nuix.com> wrote:
>> It's a shame we don't have an inverted kind of HitCollector where we
>> can say "give me the next hit", so that we can get the best of both
>> worlds (like what StAX gives us in the XML world.)
>
> You can get a scorer and call next() yourself.

Example code, please?

- Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message