public abstract static class IndexFieldData.XFieldComparatorSource
extends org.apache.lucene.search.FieldComparatorSource
Modifier and Type | Class and Description |
---|---|
static class |
IndexFieldData.XFieldComparatorSource.Nested
Simple wrapper class around a filter that matches parent documents
and a filter that matches child documents.
|
Modifier and Type | Field and Description |
---|---|
static org.apache.lucene.util.BytesRef |
MAX_TERM
UTF-8 term containing a single code point:
Character.MAX_CODE_POINT which will compare greater than all other index terms
since Character.MAX_CODE_POINT is a noncharacter and thus shouldn't appear in an index term. |
Constructor and Description |
---|
XFieldComparatorSource() |
Modifier and Type | Method and Description |
---|---|
protected Object |
missingObject(Object missingValue,
boolean reversed)
Return the missing object value according to the reduced type of the comparator.
|
abstract org.apache.lucene.search.SortField.Type |
reducedType() |
protected boolean |
sortMissingFirst(Object missingValue)
Whether missing values should be sorted first.
|
protected boolean |
sortMissingLast(Object missingValue)
Whether missing values should be sorted last, this is the default.
|
public static final org.apache.lucene.util.BytesRef MAX_TERM
Character.MAX_CODE_POINT
which will compare greater than all other index terms
since Character.MAX_CODE_POINT
is a noncharacter and thus shouldn't appear in an index term.protected final boolean sortMissingFirst(Object missingValue)
protected final boolean sortMissingLast(Object missingValue)
protected final Object missingObject(Object missingValue, boolean reversed)
public abstract org.apache.lucene.search.SortField.Type reducedType()
Copyright © 2009–2015. All rights reserved.