Package org.apache.lucene.search
Class SortedSetSelector
- java.lang.Object
-
- org.apache.lucene.search.SortedSetSelector
-
public class SortedSetSelector extends java.lang.ObjectSelects a value from the document's set to use as the representative value
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classSortedSetSelector.MaxValueWraps a SortedSetDocValues and returns the last ordinal (max)(package private) static classSortedSetSelector.MiddleMaxValueWraps a SortedSetDocValues and returns the middle ordinal (or max of the two)(package private) static classSortedSetSelector.MiddleMinValueWraps a SortedSetDocValues and returns the middle ordinal (or min of the two)(package private) static classSortedSetSelector.MinValueWraps a SortedSetDocValues and returns the first ordinal (min)static classSortedSetSelector.TypeType of selection to perform.
-
Constructor Summary
Constructors Constructor Description SortedSetSelector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SortedDocValueswrap(SortedSetDocValues sortedSet, SortedSetSelector.Type selector)Wraps a multi-valued SortedSetDocValues as a single-valued view, using the specified selector
-
-
-
Method Detail
-
wrap
public static SortedDocValues wrap(SortedSetDocValues sortedSet, SortedSetSelector.Type selector)
Wraps a multi-valued SortedSetDocValues as a single-valued view, using the specified selector
-
-