lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: Migrating from Hit/Hits to TopDocs/TopDocCollector
Date Thu, 11 Jun 2009 00:02:22 GMT
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.

-Yonik
http://www.lucidimagination.com

---------------------------------------------------------------------
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