Uses of Enum
org.apache.lucene.search.Pruning
Package
Description
Code to search indices.
Comparators, used to compare hits so as to determine their sort order when collecting the top
results with
TopFieldCollector
.-
Uses of Pruning in org.apache.lucene.search
Modifier and TypeMethodDescriptionstatic Pruning
Returns the enum constant of this type with the specified name.static Pruning[]
Pruning.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionSortedNumericSortField.getComparator
(int numHits, Pruning pruning) SortedSetSortField.getComparator
(int numHits, Pruning pruning) SortField.getComparator
(int numHits, Pruning pruning) Returns theFieldComparator
to use for sorting.abstract FieldComparator
<?> FieldComparatorSource.newComparator
(String fieldname, int numHits, Pruning pruning, boolean reversed) Creates a comparator for the field in the given index. -
Uses of Pruning in org.apache.lucene.search.comparators
ModifierConstructorDescriptionDocComparator
(int numHits, boolean reverse, Pruning pruning) Creates a new comparator based on document ids fornumHits
DoubleComparator
(int numHits, String field, Double missingValue, boolean reverse, Pruning pruning) FloatComparator
(int numHits, String field, Float missingValue, boolean reverse, Pruning pruning) IntComparator
(int numHits, String field, Integer missingValue, boolean reverse, Pruning pruning) LongComparator
(int numHits, String field, Long missingValue, boolean reverse, Pruning pruning) protected
NumericComparator
(String field, T missingValue, boolean reverse, Pruning pruning, int bytesCount) TermOrdValComparator
(int numHits, String field, boolean sortMissingLast, boolean reverse, Pruning pruning) Creates this, with control over how missing values are sorted.