public class MissingStringLastComparatorSource
extends org.apache.lucene.search.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. |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.FieldComparator |
newComparator(String fieldname,
int numHits,
int sortPos,
boolean reversed) |
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 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