Enum DocumentTypeField.IndexMode

    • 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 given DocumentTypeField.DataType does not support being analyzed, this index mode will behave as NOT_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 name
        NullPointerException - if the argument is null