Package org.alfresco.solr
Enum AlfrescoSolrDataModel.FieldUse
- java.lang.Object
-
- java.lang.Enum<AlfrescoSolrDataModel.FieldUse>
-
- org.alfresco.solr.AlfrescoSolrDataModel.FieldUse
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AlfrescoSolrDataModel.FieldUse>
- Enclosing class:
- AlfrescoSolrDataModel
public static enum AlfrescoSolrDataModel.FieldUse extends java.lang.Enum<AlfrescoSolrDataModel.FieldUse>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETIONEXACTFACETFTSHIGHLIGHTIDMULTI_FACETSORTSTATSSUGGESTION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AlfrescoSolrDataModel.FieldUsevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AlfrescoSolrDataModel.FieldUse[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FTS
public static final AlfrescoSolrDataModel.FieldUse FTS
-
ID
public static final AlfrescoSolrDataModel.FieldUse ID
-
EXACT
public static final AlfrescoSolrDataModel.FieldUse EXACT
-
FACET
public static final AlfrescoSolrDataModel.FieldUse FACET
-
MULTI_FACET
public static final AlfrescoSolrDataModel.FieldUse MULTI_FACET
-
STATS
public static final AlfrescoSolrDataModel.FieldUse STATS
-
SORT
public static final AlfrescoSolrDataModel.FieldUse SORT
-
SUGGESTION
public static final AlfrescoSolrDataModel.FieldUse SUGGESTION
-
COMPLETION
public static final AlfrescoSolrDataModel.FieldUse COMPLETION
-
HIGHLIGHT
public static final AlfrescoSolrDataModel.FieldUse HIGHLIGHT
-
-
Method Detail
-
values
public static AlfrescoSolrDataModel.FieldUse[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AlfrescoSolrDataModel.FieldUse c : AlfrescoSolrDataModel.FieldUse.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlfrescoSolrDataModel.FieldUse valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-