lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: Sort by Date
Date Tue, 29 Aug 2006 16:51:26 GMT

On Aug 29, 2006, at 11:50 AM, Mag Gam wrote:
> Is it possible to sort results by date of the document?

Sure, check out the Sort class and the overloaded 
() methods that take a Sort.  You will need to index the date in a  
sortable way. DateTools provides handy methods for this purpose.


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

View raw message