Package org.apache.solr.search
Class ReRankCollector.BoostedComp
- java.lang.Object
-
- org.apache.solr.search.ReRankCollector.BoostedComp
-
- All Implemented Interfaces:
Comparator<org.apache.lucene.search.ScoreDoc>
- Enclosing class:
- ReRankCollector
public static class ReRankCollector.BoostedComp extends Object implements Comparator<org.apache.lucene.search.ScoreDoc>
-
-
Constructor Summary
Constructors Constructor Description BoostedComp(com.carrotsearch.hppc.IntIntHashMap boostedDocs, org.apache.lucene.search.ScoreDoc[] scoreDocs, float maxScore)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(org.apache.lucene.search.ScoreDoc doc1, org.apache.lucene.search.ScoreDoc doc2)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(org.apache.lucene.search.ScoreDoc doc1, org.apache.lucene.search.ScoreDoc doc2)
- Specified by:
compare
in interfaceComparator<org.apache.lucene.search.ScoreDoc>
-
-