public class BytesRefFieldComparatorSource extends IndexFieldData.XFieldComparatorSource
IndexFieldData.XFieldComparatorSource.Nested
MAX_TERM
Constructor and Description |
---|
BytesRefFieldComparatorSource(IndexFieldData<?> indexFieldData,
Object missingValue,
MultiValueMode sortMode,
IndexFieldData.XFieldComparatorSource.Nested nested) |
Modifier and Type | Method and Description |
---|---|
protected SortedBinaryDocValues |
getValues(org.apache.lucene.index.AtomicReaderContext context) |
org.apache.lucene.search.FieldComparator<?> |
newComparator(String fieldname,
int numHits,
int sortPos,
boolean reversed) |
org.apache.lucene.search.SortField.Type |
reducedType() |
protected void |
setScorer(org.apache.lucene.search.Scorer scorer) |
missingObject, sortMissingFirst, sortMissingLast
public BytesRefFieldComparatorSource(IndexFieldData<?> indexFieldData, Object missingValue, MultiValueMode sortMode, IndexFieldData.XFieldComparatorSource.Nested nested)
public org.apache.lucene.search.SortField.Type reducedType()
reducedType
in class IndexFieldData.XFieldComparatorSource
protected SortedBinaryDocValues getValues(org.apache.lucene.index.AtomicReaderContext context)
protected void setScorer(org.apache.lucene.search.Scorer scorer)
public org.apache.lucene.search.FieldComparator<?> newComparator(String fieldname, int numHits, int sortPos, boolean reversed) throws IOException
newComparator
in class org.apache.lucene.search.FieldComparatorSource
IOException
Copyright © 2009–2015. All rights reserved.