Class: Aws::CloudSearch::Types::DateArrayOptions

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 dates. Present if ‘IndexFieldType` specifies the field is of type `date-array`. All options are enabled by default.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default_valueString

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

Returns:

  • (String)


275
276
277
278
279
280
281
282
283
# File 'lib/aws-sdk-cloudsearch/types.rb', line 275

class DateArrayOptions < Struct.new(
  :default_value,
  :source_fields,
  :facet_enabled,
  :search_enabled,
  :return_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#facet_enabledBoolean

Whether facet information can be returned for the field.

Returns:

  • (Boolean)


275
276
277
278
279
280
281
282
283
# File 'lib/aws-sdk-cloudsearch/types.rb', line 275

class DateArrayOptions < Struct.new(
  :default_value,
  :source_fields,
  :facet_enabled,
  :search_enabled,
  :return_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#return_enabledBoolean

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

Returns:

  • (Boolean)


275
276
277
278
279
280
281
282
283
# File 'lib/aws-sdk-cloudsearch/types.rb', line 275

class DateArrayOptions < Struct.new(
  :default_value,
  :source_fields,
  :facet_enabled,
  :search_enabled,
  :return_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#search_enabledBoolean

Whether the contents of the field are searchable.

Returns:

  • (Boolean)


275
276
277
278
279
280
281
282
283
# File 'lib/aws-sdk-cloudsearch/types.rb', line 275

class DateArrayOptions < Struct.new(
  :default_value,
  :source_fields,
  :facet_enabled,
  :search_enabled,
  :return_enabled)
  SENSITIVE = []
  include Aws::Structure
end

#source_fieldsString

A list of source fields to map to the field.

Returns:

  • (String)


275
276
277
278
279
280
281
282
283
# File 'lib/aws-sdk-cloudsearch/types.rb', line 275

class DateArrayOptions < Struct.new(
  :default_value,
  :source_fields,
  :facet_enabled,
  :search_enabled,
  :return_enabled)
  SENSITIVE = []
  include Aws::Structure
end