Class: Aws::CloudSearch::Types::DoubleOptions

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

Overview

Options for a double-precision 64-bit floating point field. Present if ‘IndexFieldType` specifies the field is of type `double`. 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. This can be important if you are using the field in an expression and that field is not present in every document.

Returns:

  • (Float)


1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
# File 'lib/aws-sdk-cloudsearch/types.rb', line 1212

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

#facet_enabledBoolean

Whether facet information can be returned for the field.

Returns:

  • (Boolean)


1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
# File 'lib/aws-sdk-cloudsearch/types.rb', line 1212

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

#return_enabledBoolean

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

Returns:

  • (Boolean)


1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
# File 'lib/aws-sdk-cloudsearch/types.rb', line 1212

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

#search_enabledBoolean

Whether the contents of the field are searchable.

Returns:

  • (Boolean)


1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
# File 'lib/aws-sdk-cloudsearch/types.rb', line 1212

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

#sort_enabledBoolean

Whether the field can be used to sort the search results.

Returns:

  • (Boolean)


1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
# File 'lib/aws-sdk-cloudsearch/types.rb', line 1212

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

#source_fieldString

The name of the source field to map to the field.

Returns:

  • (String)


1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
# File 'lib/aws-sdk-cloudsearch/types.rb', line 1212

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