public enum Norms extends Enum<Norms>
Enabling norms will improve the quality of scoring. Disabling norms will reduce the disk space used by the index.
| Enum Constant and Description |
|---|
DEFAULT
Use the backend-specific default.
|
NO
The index-time scoring information is not stored.
|
YES
The index-time scoring information is stored.
|
| Modifier and Type | Method and Description |
|---|---|
static Norms |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Norms[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Norms DEFAULT
public static final Norms NO
public static final Norms YES
public static Norms[] values()
for (Norms c : Norms.values()) System.out.println(c);
public static Norms 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.