Package lumis.portal.bigdata
Enum DocumentTypeField.IndexMode
- java.lang.Object
-
- java.lang.Enum<DocumentTypeField.IndexMode>
-
- lumis.portal.bigdata.DocumentTypeField.IndexMode
-
- All Implemented Interfaces:
Serializable
,Comparable<DocumentTypeField.IndexMode>
- Enclosing class:
- DocumentTypeField
public static enum DocumentTypeField.IndexMode extends Enum<DocumentTypeField.IndexMode>
Index mode.- Since:
- 8.1.0
- Version:
- $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANALYZED
This mode makes the field to be analyzed (and possibly tokenized) by the indexer implementation.NOT_ANALYZED
This mode makes the field not to be analyzed by the indexer implementation.NOT_INDEXED
This mode makes the field not to be searchable.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentTypeField.IndexMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static DocumentTypeField.IndexMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANALYZED
public static final DocumentTypeField.IndexMode ANALYZED
This mode makes the field to be analyzed (and possibly tokenized) by the indexer implementation. This mode implies that the field will be searchable.
In the case a givenDocumentTypeField.DataType
does not support being analyzed, this index mode will behave asNOT_ANALYZED
.- Since:
- 8.1.0
-
NOT_ANALYZED
public static final DocumentTypeField.IndexMode NOT_ANALYZED
This mode makes the field not to be analyzed by the indexer implementation. This mode implies that the field will be searchable.- Since:
- 8.1.0
-
NOT_INDEXED
public static final DocumentTypeField.IndexMode NOT_INDEXED
This mode makes the field not to be searchable.- Since:
- 8.1.0
-
-
Method Detail
-
values
public static DocumentTypeField.IndexMode[] 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 (DocumentTypeField.IndexMode c : DocumentTypeField.IndexMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentTypeField.IndexMode valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-