public class MissingStringLastComparatorSource extends FieldComparatorSource
Constructor and Description |
---|
MissingStringLastComparatorSource() |
MissingStringLastComparatorSource(String missingValueProxy)
Creates a
FieldComparatorSource that uses missingValueProxy as the value to return from ScoreDocComparator.sortValue()
which is only used my multisearchers to determine how to collate results from their searchers. |
public static final String bigString
public MissingStringLastComparatorSource()
public MissingStringLastComparatorSource(String missingValueProxy)
FieldComparatorSource
that uses missingValueProxy as the value to return from ScoreDocComparator.sortValue()
which is only used my multisearchers to determine how to collate results from their searchers.missingValueProxy
- The value returned when sortValue() is called for a document missing the sort field.
This value is *not* normally used for sorting, but used to createpublic FieldComparator newComparator(String fieldname, int numHits, int sortPos, boolean reversed) throws IOException
newComparator
in class FieldComparatorSource
IOException