On Tue, 2006-08-08 at 02:14 -0700, bo_b wrote: > Is there any solution to this problem? I would like to be able to sort, but > we cant live with 264 second downtime after every commit.
There has been many long threads in the Lucene-users forum on this subject. Try searching for "sorting" in subject. I personally suggest a List<Float> where index is the document number and the value the global order, set by iterating TermEnum and TermDocs at index time. But many people think this is a bad solution. So read threads to catch up on the alternatives.