Enum IMonitorField.DataType

    • Enum Constant Detail

      • STRING

        public static final IMonitorField.DataType STRING
        Represents a (short) string that will produce the following fields:
        • <field>.analyzed - an analyzed text - not aggregatable.
        • <field>.token - a token - aggregatable.
        • <field>.normalizedToken - a token, with case insensitivity and ignoring accentuation - aggregatable.
        • <field>.reversedNormalizedToken - a token, reversed, with case insensitivity and ignoring accentuation - aggregatable.
        Since:
        11.0.0
      • TEXT

        public static final IMonitorField.DataType TEXT
        A long text value. It is analyzed and not aggregatable.
        Since:
        11.0.0
      • BOOLEAN

        public static final IMonitorField.DataType BOOLEAN
        A boolean value. It is aggregatable.
        Since:
        11.0.0
      • URL

        public static final IMonitorField.DataType URL
        Complex data type that generates the following fields:
        • <field>.fullUrl - the full URL. Internally, uses a field of STRING data type.
        • <field>.domain - the domain part of the URL (for example: with the URL https://lumisportal.lumis.com.br/doc/lumisportal/10.3.1/pt-BR/index.html, this field would be lumisportal.lumis.com.br). Internally, uses a field of STRING data type.
        • <field>.path - the path part of the URL - does not include the query string - (for example: with the URL https://lumisportal.lumis.com.br/doc/lumisportal/10.3.1/pt-BR/index.html?q=DOUI, this field would be /doc/lumisportal/10.3.1/pt-BR/index.html). Internally, uses a field of STRING data type.
        Since:
        11.0.0
      • KEYWORD

        public static final IMonitorField.DataType KEYWORD
        A keyword value (usually a short string). It is aggregatable.
        Since:
        11.0.0
      • ANALYZED_STRING

        @Deprecated
        public static final IMonitorField.DataType ANALYZED_STRING
        Deprecated.
        since 11.0.0, replaced by TEXT.
        An analyzed string. This data type implies that the values will not be aggregatable.
        Since:
        9.0.0
      • NOT_ANALYZED_STRING

        @Deprecated
        public static final IMonitorField.DataType NOT_ANALYZED_STRING
        Deprecated.
        since 11.0.0 replaced by KEYWORD.
        A not-analyzed string. This data type implies that the values will be aggregatable.
        Since:
        9.0.0
      • DATETIME

        public static final IMonitorField.DataType DATETIME
        A date time value. Produces the following fields:
        • <field>.datetime - the date time of this field.
        • <field>.timeofday - the time of the day, represented as the number of seconds past midnight of the date time value of this field. Internally, uses a field of LONG data type.
        • <field>.dayofweek - the day of week, represented as a number from 1 to 7 to represent Sunday to Saturday, respectively. Internally, uses a field of LONG data type.
        Since:
        11.0.0
      • COMPLEX

        public static final IMonitorField.DataType COMPLEX
        A complex field, that has inner fields.
        Since:
        10.2.0
      • EXTENDED_GEO_POINT

        public static final IMonitorField.DataType EXTENDED_GEO_POINT
        An extended geo point field, that stores optional geographic information.
        Since:
        10.2.0
    • Method Detail

      • values

        public static IMonitorField.DataType[] 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 (IMonitorField.DataType c : IMonitorField.DataType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static IMonitorField.DataType 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