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 TextOptions = TextOptions' {}
- newTextOptions :: TextOptions
- textOptions_sourceField :: Lens' TextOptions (Maybe Text)
- textOptions_returnEnabled :: Lens' TextOptions (Maybe Bool)
- textOptions_analysisScheme :: Lens' TextOptions (Maybe Text)
- textOptions_highlightEnabled :: Lens' TextOptions (Maybe Bool)
- textOptions_sortEnabled :: Lens' TextOptions (Maybe Bool)
- textOptions_defaultValue :: Lens' TextOptions (Maybe Text)
Documentation
data TextOptions Source #
Options for text field. Present if IndexFieldType
specifies the field
is of type text
. A text
field is always searchable. All options are
enabled by default.
See: newTextOptions
smart constructor.
TextOptions' | |
|
Instances
newTextOptions :: TextOptions Source #
Create a value of TextOptions
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:TextOptions'
, textOptions_sourceField
- Undocumented member.
$sel:returnEnabled:TextOptions'
, textOptions_returnEnabled
- Whether the contents of the field can be returned in the search results.
$sel:analysisScheme:TextOptions'
, textOptions_analysisScheme
- The name of an analysis scheme for a text
field.
$sel:highlightEnabled:TextOptions'
, textOptions_highlightEnabled
- Whether highlights can be returned for the field.
$sel:sortEnabled:TextOptions'
, textOptions_sortEnabled
- Whether the field can be used to sort the search results.
$sel:defaultValue:TextOptions'
, textOptions_defaultValue
- A value to use for the field if the field isn't specified for a
document.
textOptions_sourceField :: Lens' TextOptions (Maybe Text) Source #
Undocumented member.
textOptions_returnEnabled :: Lens' TextOptions (Maybe Bool) Source #
Whether the contents of the field can be returned in the search results.
textOptions_analysisScheme :: Lens' TextOptions (Maybe Text) Source #
The name of an analysis scheme for a text
field.
textOptions_highlightEnabled :: Lens' TextOptions (Maybe Bool) Source #
Whether highlights can be returned for the field.
textOptions_sortEnabled :: Lens' TextOptions (Maybe Bool) Source #
Whether the field can be used to sort the search results.
textOptions_defaultValue :: Lens' TextOptions (Maybe Text) Source #
A value to use for the field if the field isn't specified for a document.