the 1.4 release contains sorting code that sorts similarly to your description. You can get the latest 1.4 release here:
http://cvs.apache.org/dist/jakarta/lucene/v1.4-rc2/ look at org.apache.lucene.search.Sort > -----Original Message----- > From: Joe Rayguy [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 01, 2004 11:58 AM > To: [EMAIL PROTECTED] > Subject: Iterernal Document Numbers > > > Hi, > > I apologize if this has been answered before, but is > it safe to design an application that sorts hits using > an external array based on each hit's internal > document ID? It seems simple enough to rebuild the > array after an optimization, but what about merges > that > occur in the course of adding documents? If I plan on > adding documents every minute or so recreating this > array with each addition doesn't seem feasible. > > Is there a recommended way to handle such an array for > sorting results? > > Thanks. > > __________________________________ > Do you Yahoo!? > Yahoo! Mail - More reliable, more storage, less spam > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
