- java.lang.Object
-
- org.apache.lucene.search.SortedSetSelector
-
public class SortedSetSelector extends java.lang.Object
Selects 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 class
SortedSetSelector.MaxValue
Wraps a SortedSetDocValues and returns the last ordinal (max)(package private) static class
SortedSetSelector.MiddleMaxValue
Wraps a SortedSetDocValues and returns the middle ordinal (or max of the two)(package private) static class
SortedSetSelector.MiddleMinValue
Wraps a SortedSetDocValues and returns the middle ordinal (or min of the two)(package private) static class
SortedSetSelector.MinValue
Wraps a SortedSetDocValues and returns the first ordinal (min)static class
SortedSetSelector.Type
Type of selection to perform.
-
Constructor Summary
Constructors Constructor Description SortedSetSelector()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SortedDocValues
wrap(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
-
-