public class ReRankQParserPlugin.BoostedComp extends Object implements Comparator
Constructor and Description |
---|
BoostedComp(com.carrotsearch.hppc.IntIntOpenHashMap boostedDocs,
org.apache.lucene.search.ScoreDoc[] scoreDocs,
float maxScore) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object o1,
Object o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public BoostedComp(com.carrotsearch.hppc.IntIntOpenHashMap boostedDocs, org.apache.lucene.search.ScoreDoc[] scoreDocs, float maxScore)
public int compare(Object o1, Object o2)
compare
in interface Comparator
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.