| 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.LiteralOptions
Description
Synopsis
- data LiteralOptions = LiteralOptions' {}
- newLiteralOptions :: LiteralOptions
- literalOptions_defaultValue :: Lens' LiteralOptions (Maybe Text)
- literalOptions_facetEnabled :: Lens' LiteralOptions (Maybe Bool)
- literalOptions_returnEnabled :: Lens' LiteralOptions (Maybe Bool)
- literalOptions_searchEnabled :: Lens' LiteralOptions (Maybe Bool)
- literalOptions_sortEnabled :: Lens' LiteralOptions (Maybe Bool)
- literalOptions_sourceField :: 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.
Constructors
| LiteralOptions' | |
Fields
| |
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:defaultValue:LiteralOptions', literalOptions_defaultValue - A value to use for the field if the field isn't specified for a
document.
$sel:facetEnabled:LiteralOptions', literalOptions_facetEnabled - Whether facet information can be returned for the field.
$sel:returnEnabled:LiteralOptions', literalOptions_returnEnabled - Whether the contents of the field can be returned in the search results.
$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:sourceField:LiteralOptions', literalOptions_sourceField - Undocumented member.
literalOptions_defaultValue :: Lens' LiteralOptions (Maybe Text) Source #
A value to use for the field if the field isn't specified for a document.
literalOptions_facetEnabled :: Lens' LiteralOptions (Maybe Bool) Source #
Whether facet information can be returned for the field.
literalOptions_returnEnabled :: Lens' LiteralOptions (Maybe Bool) Source #
Whether the contents of the field can be returned in the search results.
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_sourceField :: Lens' LiteralOptions (Maybe Text) Source #
Undocumented member.