Package org.apache.lucene.search
Class SortedSetSelector
java.lang.Object
org.apache.lucene.search.SortedSetSelector
Selects a value from the document's set to use as the representative value
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
Wraps a SortedSetDocValues and returns the last ordinal (max)(package private) static class
Wraps a SortedSetDocValues and returns the middle ordinal (or max of the two)(package private) static class
Wraps a SortedSetDocValues and returns the middle ordinal (or min of the two)(package private) static class
Wraps a SortedSetDocValues and returns the first ordinal (min)static enum
Type of selection to perform. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SortedDocValues
wrap
(SortedSetDocValues sortedSet, SortedSetSelector.Type selector) Wraps a multi-valued SortedSetDocValues as a single-valued view, using the specified selector
-
Constructor Details
-
SortedSetSelector
public SortedSetSelector()
-
-
Method Details
-
wrap
Wraps a multi-valued SortedSetDocValues as a single-valued view, using the specified selector
-