lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tea Yu" <teayu2...@netvigator.com>
Subject Re: Use of SortComparator.getComparable() ?
Date Tue, 21 Sep 2004 02:49:23 GMT
Dear all,

I'm recently implementing a sort logic that leverages an external index,
however, I'm confused by the newComparator() and getComparable() in
SortComparator.

It seems natural to me that IndexSearcher -> FieldSortedHitQueue ->
factory.newComparator().  However, what's the use of getComparable() if
newComparator() is doing the job?  Any use scenario?

Thanks
Tea


---------------------------------------------------------------------
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