| 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.IntOptions
Description
Synopsis
- data IntOptions = IntOptions' {}
- newIntOptions :: IntOptions
- intOptions_defaultValue :: Lens' IntOptions (Maybe Integer)
- intOptions_facetEnabled :: Lens' IntOptions (Maybe Bool)
- intOptions_returnEnabled :: Lens' IntOptions (Maybe Bool)
- intOptions_searchEnabled :: Lens' IntOptions (Maybe Bool)
- intOptions_sortEnabled :: Lens' IntOptions (Maybe Bool)
- intOptions_sourceField :: Lens' IntOptions (Maybe Text)
Documentation
data IntOptions Source #
Options for a 64-bit signed integer field. Present if IndexFieldType
specifies the field is of type int. All options are enabled by
default.
See: newIntOptions smart constructor.
Constructors
| IntOptions' | |
Fields
| |
Instances
newIntOptions :: IntOptions Source #
Create a value of IntOptions 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:IntOptions', intOptions_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:IntOptions', intOptions_facetEnabled - Whether facet information can be returned for the field.
$sel:returnEnabled:IntOptions', intOptions_returnEnabled - Whether the contents of the field can be returned in the search results.
$sel:searchEnabled:IntOptions', intOptions_searchEnabled - Whether the contents of the field are searchable.
$sel:sortEnabled:IntOptions', intOptions_sortEnabled - Whether the field can be used to sort the search results.
$sel:sourceField:IntOptions', intOptions_sourceField - The name of the source field to map to the field.
intOptions_defaultValue :: Lens' IntOptions (Maybe Integer) 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.
intOptions_facetEnabled :: Lens' IntOptions (Maybe Bool) Source #
Whether facet information can be returned for the field.
intOptions_returnEnabled :: Lens' IntOptions (Maybe Bool) Source #
Whether the contents of the field can be returned in the search results.
intOptions_searchEnabled :: Lens' IntOptions (Maybe Bool) Source #
Whether the contents of the field are searchable.
intOptions_sortEnabled :: Lens' IntOptions (Maybe Bool) Source #
Whether the field can be used to sort the search results.
intOptions_sourceField :: Lens' IntOptions (Maybe Text) Source #
The name of the source field to map to the field.