class ElevationComparatorSource
extends org.apache.lucene.search.FieldComparatorSource
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,java.lang.Integer> |
priority |
| Constructor and Description |
|---|
ElevationComparatorSource(java.util.Map<java.lang.String,java.lang.Integer> boosts) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.search.FieldComparator<java.lang.Integer> |
newComparator(java.lang.String fieldname,
int numHits,
int sortPos,
boolean reversed) |
public ElevationComparatorSource(java.util.Map<java.lang.String,java.lang.Integer> boosts)
public org.apache.lucene.search.FieldComparator<java.lang.Integer> newComparator(java.lang.String fieldname,
int numHits,
int sortPos,
boolean reversed)
throws java.io.IOException
newComparator in class org.apache.lucene.search.FieldComparatorSourcejava.io.IOException