Class TextArrayOptions

    • Method Detail

      • defaultValue

        public final String defaultValue()
        A value to use for the field if the field isn't specified for a document.
        Returns:
        A value to use for the field if the field isn't specified for a document.
      • sourceFields

        public final String sourceFields()

        A list of source fields to map to the field.

        Returns:
        A list of source fields to map to the field.
      • returnEnabled

        public final Boolean returnEnabled()

        Whether the contents of the field can be returned in the search results.

        Returns:
        Whether the contents of the field can be returned in the search results.
      • highlightEnabled

        public final Boolean highlightEnabled()

        Whether highlights can be returned for the field.

        Returns:
        Whether highlights can be returned for the field.
      • analysisScheme

        public final String analysisScheme()

        The name of an analysis scheme for a text-array field.

        Returns:
        The name of an analysis scheme for a text-array field.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)