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 LiteralOptions = LiteralOptions' {}
- newLiteralOptions :: LiteralOptions
- literalOptions_sourceField :: Lens' LiteralOptions (Maybe Text)
- literalOptions_returnEnabled :: Lens' LiteralOptions (Maybe Bool)
- literalOptions_facetEnabled :: Lens' LiteralOptions (Maybe Bool)
- literalOptions_searchEnabled :: Lens' LiteralOptions (Maybe Bool)
- literalOptions_sortEnabled :: Lens' LiteralOptions (Maybe Bool)
- literalOptions_defaultValue :: Lens' LiteralOptions (Maybe Text)
Documentation
data LiteralOptions Source #
Options for literal field. Present if IndexFieldType
specifies the
field is of type literal
. All options are enabled by default.
See: newLiteralOptions
smart constructor.
LiteralOptions' | |
|
Instances
newLiteralOptions :: LiteralOptions Source #
Create a value of LiteralOptions
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:LiteralOptions'
, literalOptions_sourceField
- Undocumented member.
$sel:returnEnabled:LiteralOptions'
, literalOptions_returnEnabled
- Whether the contents of the field can be returned in the search results.
$sel:facetEnabled:LiteralOptions'
, literalOptions_facetEnabled
- Whether facet information can be returned for the field.
$sel:searchEnabled:LiteralOptions'
, literalOptions_searchEnabled
- Whether the contents of the field are searchable.
$sel:sortEnabled:LiteralOptions'
, literalOptions_sortEnabled
- Whether the field can be used to sort the search results.
$sel:defaultValue:LiteralOptions'
, literalOptions_defaultValue
- A value to use for the field if the field isn't specified for a
document.
literalOptions_sourceField :: Lens' LiteralOptions (Maybe Text) Source #
Undocumented member.
literalOptions_returnEnabled :: Lens' LiteralOptions (Maybe Bool) Source #
Whether the contents of the field can be returned in the search results.
literalOptions_facetEnabled :: Lens' LiteralOptions (Maybe Bool) Source #
Whether facet information can be returned for the field.
literalOptions_searchEnabled :: Lens' LiteralOptions (Maybe Bool) Source #
Whether the contents of the field are searchable.
literalOptions_sortEnabled :: Lens' LiteralOptions (Maybe Bool) Source #
Whether the field can be used to sort the search results.
literalOptions_defaultValue :: Lens' LiteralOptions (Maybe Text) Source #
A value to use for the field if the field isn't specified for a document.