On Jan 6, 2006, at 8:34 AM, Veera, Sekhar S wrote:
Is there any way to sort the records in a file using lucene.?

I presume by "records" and "file" you mean sort Hits from a search of an index.

Yes, Lucene can do that. Look at the various overloaded IndexSearcher.search() methods... the ones that take a Sort will do the trick.

        Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to