lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dontspamterry <>
Subject Paging sorted results
Date Mon, 14 May 2007 17:32:38 GMT

Hi there,

Is there a way where I can page through sorted results? Say my query has
1000 hits (sorted by name field), but I want to return only 100 rows at a
time. There was no search API() which takes a hit collector and a Sort, so I
looked at the TopFieldDocCollector, but it only accepts the max number of
hits to collect. Any suggestions how one can do this?

View this message in context:
Sent from the Lucene - Java Developer mailing list archive at

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

View raw message