lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Jones <TJo...@hoovers.com>
Subject RE: Iterernal Document Numbers
Date Thu, 01 Apr 2004 20:50:00 GMT
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:iscjraymond@yahoo.com]
> Sent: Thursday, April 01, 2004 11:58 AM
> To: lucene-user@jakarta.apache.org
> 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: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message