Module org.apache.lucene.core
Package org.apache.lucene.search
Class LongValuesSource.LongValuesComparatorSource
java.lang.Object
org.apache.lucene.search.FieldComparatorSource
org.apache.lucene.search.LongValuesSource.LongValuesComparatorSource
- Enclosing class:
- LongValuesSource
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewComparator
(String fieldname, int numHits, Pruning pruning, boolean reversed) Creates a comparator for the field in the given index.(package private) void
setMissingValue
(long missingValue)
-
Field Details
-
producer
-
missingValue
private long missingValue
-
-
Constructor Details
-
LongValuesComparatorSource
-
-
Method Details
-
setMissingValue
void setMissingValue(long missingValue) -
newComparator
public FieldComparator<Long> newComparator(String fieldname, int numHits, Pruning pruning, boolean reversed) Description copied from class:FieldComparatorSource
Creates a comparator for the field in the given index.- Specified by:
newComparator
in classFieldComparatorSource
- Parameters:
fieldname
- Name of the field to create comparator for.- Returns:
- FieldComparator.
-