public class LuceneMissingValue
extends java.lang.Object
Constructor and Description |
---|
LuceneMissingValue() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
missingValue(boolean reverseFlag,
java.lang.Boolean nullFirst,
org.apache.lucene.search.SortField.Type type)
Calculates the missing Values as in
IndexFieldData
The results in the ScoreDoc contains this missingValues instead of nulls. |
static java.lang.Object |
missingValue(OrderBy orderBy,
int orderIndex) |
public static java.lang.Object missingValue(OrderBy orderBy, int orderIndex)
public static java.lang.Object missingValue(boolean reverseFlag, java.lang.Boolean nullFirst, org.apache.lucene.search.SortField.Type type)
IndexFieldData
The results in the ScoreDoc
contains this missingValues instead of nulls. Because we
need nulls in the result, it's necessary to check if a value is a missingValue.