lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Robert <cr_use...@arcor.de>
Subject Re: Pagination and Sorting
Date Thu, 01 Oct 2009 12:07:39 GMT
Anshum,

> You could get the hits in a collector and pass the sort to the 
> collector as it would be the collect function that handles the
> sorting.
> 
> searcherObject.search(query,collector);
> 
> Hope that gives you some headway. :)

Not quite (yet?) ;-)

What do you mean by passing the Sort to the collector as collect
function? Could you provide a little code snippet that describes
the procedure?

Thanks!
Chris

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