lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Jones <>
Subject RE: results sorting code in CVS
Date Thu, 18 Mar 2004 15:55:30 GMT
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 []
> Sent: Wednesday, March 17, 2004 9:08 PM
> To:
> Subject: results sorting code in CVS
> Hi All,
> I am looking through the results sorting code in CVS (,
>,, etc).  How are the
> "" classes intended to be used?
> I looked at 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:
For additional commands, e-mail:

View raw message