public enum Aggregable extends Enum<Aggregable>
This usually means that the field will have doc-values stored in the index.
| Enum Constant and Description |
|---|
DEFAULT
Use the backend-specific default.
|
NO
Do not allow aggregation on the field.
|
YES
Allow aggregation on the field.
|
| Modifier and Type | Method and Description |
|---|---|
static Aggregable |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Aggregable[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Aggregable DEFAULT
public static final Aggregable NO
public static final Aggregable YES
public static Aggregable[] values()
for (Aggregable c : Aggregable.values()) System.out.println(c);
public static Aggregable 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 © 2006-2020 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.