libZSservicesZSamazonka-cloudsearchZSamazonka-cloudsearch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudSearch.Types.DoubleOptions

Description

 
Synopsis

Documentation

data DoubleOptions Source #

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.

See: newDoubleOptions smart constructor.

Constructors

DoubleOptions' 

Fields

Instances

Instances details
Eq DoubleOptions Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.DoubleOptions

Read DoubleOptions Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.DoubleOptions

Show DoubleOptions Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.DoubleOptions

Generic DoubleOptions Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.DoubleOptions

Associated Types

type Rep DoubleOptions :: Type -> Type #

NFData DoubleOptions Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.DoubleOptions

Methods

rnf :: DoubleOptions -> () #

Hashable DoubleOptions Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.DoubleOptions

ToQuery DoubleOptions Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.DoubleOptions

FromXML DoubleOptions Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.DoubleOptions

type Rep DoubleOptions Source # 
Instance details

Defined in Amazonka.CloudSearch.Types.DoubleOptions

type Rep DoubleOptions = D1 ('MetaData "DoubleOptions" "Amazonka.CloudSearch.Types.DoubleOptions" "libZSservicesZSamazonka-cloudsearchZSamazonka-cloudsearch" 'False) (C1 ('MetaCons "DoubleOptions'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sourceField") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "returnEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "facetEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: (S1 ('MetaSel ('Just "searchEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "sortEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "defaultValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))))

newDoubleOptions :: DoubleOptions Source #

Create a value of DoubleOptions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sourceField:DoubleOptions', doubleOptions_sourceField - The name of the source field to map to the field.

$sel:returnEnabled:DoubleOptions', doubleOptions_returnEnabled - Whether the contents of the field can be returned in the search results.

$sel:facetEnabled:DoubleOptions', doubleOptions_facetEnabled - Whether facet information can be returned for the field.

$sel:searchEnabled:DoubleOptions', doubleOptions_searchEnabled - Whether the contents of the field are searchable.

$sel:sortEnabled:DoubleOptions', doubleOptions_sortEnabled - Whether the field can be used to sort the search results.

$sel:defaultValue:DoubleOptions', doubleOptions_defaultValue - 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.

doubleOptions_sourceField :: Lens' DoubleOptions (Maybe Text) Source #

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

doubleOptions_returnEnabled :: Lens' DoubleOptions (Maybe Bool) Source #

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

doubleOptions_facetEnabled :: Lens' DoubleOptions (Maybe Bool) Source #

Whether facet information can be returned for the field.

doubleOptions_searchEnabled :: Lens' DoubleOptions (Maybe Bool) Source #

Whether the contents of the field are searchable.

doubleOptions_sortEnabled :: Lens' DoubleOptions (Maybe Bool) Source #

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

doubleOptions_defaultValue :: Lens' DoubleOptions (Maybe Double) Source #

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.