Class: Aws::CloudSearch::Types::DoubleArrayOptions

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

Overview

Note:

When making an API call, you may pass DoubleArrayOptions data as a hash:

{
  default_value: 1.0,
  source_fields: "FieldNameCommaList",
  facet_enabled: false,
  search_enabled: false,
  return_enabled: false,
}

Options for a field that contains an array of double-precision 64-bit floating point values. Present if `IndexFieldType` specifies the field is of type `double-array`. All options are enabled by default.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#default_valueFloat

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

Returns:

  • (Float)

1513
1514
1515
1516
1517
1518
1519
1520
1521
# File 'lib/aws-sdk-cloudsearch/types.rb', line 1513

class DoubleArrayOptions < 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)

1513
1514
1515
1516
1517
1518
1519
1520
1521
# File 'lib/aws-sdk-cloudsearch/types.rb', line 1513

class DoubleArrayOptions < 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)

1513
1514
1515
1516
1517
1518
1519
1520
1521
# File 'lib/aws-sdk-cloudsearch/types.rb', line 1513

class DoubleArrayOptions < 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)

1513
1514
1515
1516
1517
1518
1519
1520
1521
# File 'lib/aws-sdk-cloudsearch/types.rb', line 1513

class DoubleArrayOptions < 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)

1513
1514
1515
1516
1517
1518
1519
1520
1521
# File 'lib/aws-sdk-cloudsearch/types.rb', line 1513

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