| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudSearch.Types.DoubleOptions
Description
Synopsis
- data DoubleOptions = DoubleOptions' {}
- newDoubleOptions :: DoubleOptions
- doubleOptions_defaultValue :: Lens' DoubleOptions (Maybe Double)
- doubleOptions_facetEnabled :: Lens' DoubleOptions (Maybe Bool)
- doubleOptions_returnEnabled :: Lens' DoubleOptions (Maybe Bool)
- doubleOptions_searchEnabled :: Lens' DoubleOptions (Maybe Bool)
- doubleOptions_sortEnabled :: Lens' DoubleOptions (Maybe Bool)
- doubleOptions_sourceField :: Lens' DoubleOptions (Maybe Text)
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
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: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.
$sel:facetEnabled:DoubleOptions', doubleOptions_facetEnabled - Whether facet information can be returned for the field.
$sel:returnEnabled:DoubleOptions', doubleOptions_returnEnabled - Whether the contents of the field can be returned in the search results.
$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:sourceField:DoubleOptions', doubleOptions_sourceField - The name of the source field to map to the field.
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.
doubleOptions_facetEnabled :: Lens' DoubleOptions (Maybe Bool) Source #
Whether facet information can be returned for the field.
doubleOptions_returnEnabled :: Lens' DoubleOptions (Maybe Bool) Source #
Whether the contents of the field can be returned in the search results.
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_sourceField :: Lens' DoubleOptions (Maybe Text) Source #
The name of the source field to map to the field.