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 LatLonOptions = LatLonOptions' {}
- newLatLonOptions :: LatLonOptions
- latLonOptions_sourceField :: Lens' LatLonOptions (Maybe Text)
- latLonOptions_returnEnabled :: Lens' LatLonOptions (Maybe Bool)
- latLonOptions_facetEnabled :: Lens' LatLonOptions (Maybe Bool)
- latLonOptions_searchEnabled :: Lens' LatLonOptions (Maybe Bool)
- latLonOptions_sortEnabled :: Lens' LatLonOptions (Maybe Bool)
- latLonOptions_defaultValue :: Lens' LatLonOptions (Maybe Text)
Documentation
data LatLonOptions Source #
Options for a latlon field. A latlon field contains a location stored as
a latitude and longitude value pair. Present if IndexFieldType
specifies the field is of type latlon
. All options are enabled by
default.
See: newLatLonOptions
smart constructor.
LatLonOptions' | |
|
Instances
newLatLonOptions :: LatLonOptions Source #
Create a value of LatLonOptions
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:LatLonOptions'
, latLonOptions_sourceField
- Undocumented member.
$sel:returnEnabled:LatLonOptions'
, latLonOptions_returnEnabled
- Whether the contents of the field can be returned in the search results.
$sel:facetEnabled:LatLonOptions'
, latLonOptions_facetEnabled
- Whether facet information can be returned for the field.
$sel:searchEnabled:LatLonOptions'
, latLonOptions_searchEnabled
- Whether the contents of the field are searchable.
$sel:sortEnabled:LatLonOptions'
, latLonOptions_sortEnabled
- Whether the field can be used to sort the search results.
$sel:defaultValue:LatLonOptions'
, latLonOptions_defaultValue
- A value to use for the field if the field isn't specified for a
document.
latLonOptions_sourceField :: Lens' LatLonOptions (Maybe Text) Source #
Undocumented member.
latLonOptions_returnEnabled :: Lens' LatLonOptions (Maybe Bool) Source #
Whether the contents of the field can be returned in the search results.
latLonOptions_facetEnabled :: Lens' LatLonOptions (Maybe Bool) Source #
Whether facet information can be returned for the field.
latLonOptions_searchEnabled :: Lens' LatLonOptions (Maybe Bool) Source #
Whether the contents of the field are searchable.
latLonOptions_sortEnabled :: Lens' LatLonOptions (Maybe Bool) Source #
Whether the field can be used to sort the search results.
latLonOptions_defaultValue :: Lens' LatLonOptions (Maybe Text) Source #
A value to use for the field if the field isn't specified for a document.