Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data DoubleOptions = DoubleOptions' {}
- newDoubleOptions :: DoubleOptions
- doubleOptions_sourceField :: Lens' DoubleOptions (Maybe Text)
- doubleOptions_returnEnabled :: Lens' DoubleOptions (Maybe Bool)
- doubleOptions_facetEnabled :: Lens' DoubleOptions (Maybe Bool)
- doubleOptions_searchEnabled :: Lens' DoubleOptions (Maybe Bool)
- doubleOptions_sortEnabled :: Lens' DoubleOptions (Maybe Bool)
- doubleOptions_defaultValue :: Lens' DoubleOptions (Maybe Double)
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.
DoubleOptions' | |
|
Instances
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.