Package de.cxp.ocs.config
Enum Class FieldUsage
- All Implemented Interfaces:
Serializable
,Comparable<FieldUsage>
,Constable
Enum describing the usage of an field that will be indexed.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFields with this usage are prepared for automatic facet creation and filtering.Fields with this usage are prepared to be used for filtering without automatic facet generation.Fields with this usage are made ready to returned in the response at the matched hits.Fields with this usage are prepared to be used for scoringFields with this usage are analyzed in all set up ways made ready for full-text search.Fields with this usage are prepared for sorting. -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldUsage
Returns the enum constant of this class with the specified name.static FieldUsage[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SEARCH
Fields with this usage are analyzed in all set up ways made ready for full-text search. -
RESULT
Fields with this usage are made ready to returned in the response at the matched hits. -
SORT
Fields with this usage are prepared for sorting. -
FACET
Fields with this usage are prepared for automatic facet creation and filtering. -
FILTER
Fields with this usage are prepared to be used for filtering without automatic facet generation. -
SCORE
Fields with this usage are prepared to be used for scoring
-
-
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
-