Class: Aws::CloudSearch::Types::TextArrayOptions

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudsearch/types.rb

Overview

Options for a field that contains an array of text strings. Present if ‘IndexFieldType` specifies the field is of type `text-array`. A `text-array` field is always searchable. All options are enabled by default.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#analysis_schemeString

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

Returns:

  • (String)


1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'lib/aws-sdk-cloudsearch/types.rb', line 1892

class TextArrayOptions < Struct.new(
  :default_value,
  :source_fields,
  :return_enabled,
  :highlight_enabled,
  :analysis_scheme)
  SENSITIVE = []
  include Aws::Structure
end

#default_valueString

A value to use for the field if the field isn’t specified for a document.

Returns:

  • (String)


1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'lib/aws-sdk-cloudsearch/types.rb', line 1892

class TextArrayOptions < Struct.new(
  :default_value,
  :source_fields,
  :return_enabled,
  :highlight_enabled,
  :analysis_scheme)
  SENSITIVE = []
  include Aws::Structure
end

#highlight_enabledBoolean

Whether highlights can be returned for the field.

Returns:

  • (Boolean)


1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'lib/aws-sdk-cloudsearch/types.rb', line 1892

class TextArrayOptions < Struct.new(
  :default_value,
  :source_fields,
  :return_enabled,
  :highlight_enabled,
  :analysis_scheme)
  SENSITIVE = []
  include Aws::Structure
end

#return_enabledBoolean

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

Returns:

  • (Boolean)


1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'lib/aws-sdk-cloudsearch/types.rb', line 1892

class TextArrayOptions < Struct.new(
  :default_value,
  :source_fields,
  :return_enabled,
  :highlight_enabled,
  :analysis_scheme)
  SENSITIVE = []
  include Aws::Structure
end

#source_fieldsString

A list of source fields to map to the field.

Returns:

  • (String)


1892
1893
1894
1895
1896
1897
1898
1899
1900
# File 'lib/aws-sdk-cloudsearch/types.rb', line 1892

class TextArrayOptions < Struct.new(
  :default_value,
  :source_fields,
  :return_enabled,
  :highlight_enabled,
  :analysis_scheme)
  SENSITIVE = []
  include Aws::Structure
end