a short answer is: those are internal classes which you probably won't use directly. You can just use the Sort class along with a Searcher.
a longer answer is: they are referenced by IndexSearcher (through MultiFieldSortedHitQueue) and each used depending on the type of field being sorted by. They are set up so that you could, for example, subclass IndexSearcher to create a SpecialIndexSearcher that always sorts by one of the HitQueues. > -----Original Message----- > From: Anson Lau [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 17, 2004 9:08 PM > To: [EMAIL PROTECTED] > Subject: results sorting code in CVS > > Hi All, > > I am looking through the results sorting code in CVS (Sort.java, > SortField.java, MultiFieldSortedHitQueue.java, etc). How are the > "xxSortedHitQueue.java" classes intended to be used? > > I looked at IndexSearcher.java and it uses a HitQueue. Are > there going > to be new methods or contractor added to the Searcher > interface to allow > users to choose which HitQueue to use? > > Thanks, > > Anson --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]