public class ToParentBlockJoinSortField extends SortField
SortField.Provider, SortField.TypeFIELD_DOC, FIELD_SCORE, missingValue, STRING_FIRST, STRING_LAST| Constructor and Description |
|---|
ToParentBlockJoinSortField(String field,
SortField.Type type,
boolean reverse,
BitSetProducer parentFilter,
BitSetProducer childFilter)
Create ToParentBlockJoinSortField.
|
ToParentBlockJoinSortField(String field,
SortField.Type type,
boolean reverse,
boolean order,
BitSetProducer parentFilter,
BitSetProducer childFilter)
Create ToParentBlockJoinSortField.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
FieldComparator<?> |
getComparator(int numHits,
int sortPos) |
int |
hashCode() |
getBytesComparator, getCanUsePoints, getComparatorSource, getField, getIndexSorter, getMissingValue, getReverse, getType, needsScores, readType, rewrite, setBytesComparator, setCanUsePoints, setMissingValue, toStringpublic ToParentBlockJoinSortField(String field, SortField.Type type, boolean reverse, BitSetProducer parentFilter, BitSetProducer childFilter)
field - The sort field on the nested / child level.type - The sort type on the nested / child level.reverse - Whether natural order should be reversed on the nested / child level.parentFilter - Filter that identifies the parent documents.childFilter - Filter that defines which child documents participates in sorting.public ToParentBlockJoinSortField(String field, SortField.Type type, boolean reverse, boolean order, BitSetProducer parentFilter, BitSetProducer childFilter)
field - The sort field on the nested / child level.type - The sort type on the nested / child level.reverse - Whether natural order should be reversed on the nested / child document level.order - Whether natural order should be reversed on the parent level.parentFilter - Filter that identifies the parent documents.childFilter - Filter that defines which child documents participates in sorting.public FieldComparator<?> getComparator(int numHits, int sortPos)
getComparator in class SortFieldCopyright © 2000-2024 Apache Software Foundation. All Rights Reserved.