lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romi <romijain3...@gmail.com>
Subject ScoreDocComparator Vs FieldComparator
Date Mon, 20 Dec 2010 09:52:41 GMT

In Lucene 3.0.2 Interface ScoreDocComparator(Luvene 2.4.1) is replaced by
Class FieldComparator
My problem is :
In lucene3.0.2 new method is  public abstract int compare(int slot1,int
slot2) which was int compare(ScoreDoc, ScoreDoc j) in lucene2.4.1.

i want to know what is slot indicates in new implementation, can u give me
an example of this method.

Thanks.


-----
Romi
-- 
View this message in context: http://lucene.472066.n3.nabble.com/ScoreDocComparator-Vs-FieldComparator-tp2119411p2119411.html
Sent from the Lucene - General mailing list archive at Nabble.com.

Mime
View raw message