public static enum SortedSetSelector.Type extends Enum<SortedSetSelector.Type>
Limitations:
Integer.MAX_VALUE or more unique values
       are unsupported.
   MIN) require 
       optional codec support. However several codecs provided by Lucene, 
       including the current default codec, support this.
 | Enum Constant and Description | 
|---|
| MAXSelects the maximum value in the set | 
| MIDDLE_MAXSelects the middle value in the set. | 
| MIDDLE_MINSelects the middle value in the set. | 
| MINSelects the minimum value in the set | 
| Modifier and Type | Method and Description | 
|---|---|
| static SortedSetSelector.Type | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static SortedSetSelector.Type[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final SortedSetSelector.Type MIN
public static final SortedSetSelector.Type MAX
public static final SortedSetSelector.Type MIDDLE_MIN
If the set has an even number of values, the lower of the middle two is chosen.
public static final SortedSetSelector.Type MIDDLE_MAX
If the set has an even number of values, the higher of the middle two is chosen
public static SortedSetSelector.Type[] values()
for (SortedSetSelector.Type c : SortedSetSelector.Type.values()) System.out.println(c);
public static SortedSetSelector.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.