Enum Class QueryElevationComponent.InitializationExceptionCause
java.lang.Object
java.lang.Enum<QueryElevationComponent.InitializationExceptionCause>
org.apache.solr.handler.component.QueryElevationComponent.InitializationExceptionCause
- All Implemented Interfaces:
Serializable,Comparable<QueryElevationComponent.InitializationExceptionCause>,Constable
- Enclosing class:
QueryElevationComponent
protected static enum QueryElevationComponent.InitializationExceptionCause
extends Enum<QueryElevationComponent.InitializationExceptionCause>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe elevation configuration file (e.g.The elevation configuration file (e.g.This component requires the schema to have a uniqueKeyField, which it does not have.Missing component parameterQueryElevationComponent.CONFIG_FILE- it has to define the path to the elevation configuration file (e.g.Unclassified exception cause.The component parameterQueryElevationComponent.FIELD_TYPEdefines an unknown field type. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN_FIELD_TYPE
The component parameterQueryElevationComponent.FIELD_TYPEdefines an unknown field type. -
MISSING_UNIQUE_KEY_FIELD
This component requires the schema to have a uniqueKeyField, which it does not have. -
NO_CONFIG_FILE_DEFINED
Missing component parameterQueryElevationComponent.CONFIG_FILE- it has to define the path to the elevation configuration file (e.g. elevate.xml). -
MISSING_CONFIG_FILE
The elevation configuration file (e.g. elevate.xml) cannot be found, or is defined in both conf/ and data/ directories. -
EMPTY_CONFIG_FILE
The elevation configuration file (e.g. elevate.xml) is empty. -
OTHER
Unclassified exception cause.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-