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 TextArrayOptions = TextArrayOptions' {}
- newTextArrayOptions :: TextArrayOptions
- textArrayOptions_sourceFields :: Lens' TextArrayOptions (Maybe Text)
- textArrayOptions_returnEnabled :: Lens' TextArrayOptions (Maybe Bool)
- textArrayOptions_analysisScheme :: Lens' TextArrayOptions (Maybe Text)
- textArrayOptions_highlightEnabled :: Lens' TextArrayOptions (Maybe Bool)
- textArrayOptions_defaultValue :: Lens' TextArrayOptions (Maybe Text)
Documentation
data TextArrayOptions Source #
Options for a field that contains an array of text strings. Present if
IndexFieldType
specifies the field is of type text-array
. A
text-array
field is always searchable. All options are enabled by
default.
See: newTextArrayOptions
smart constructor.
TextArrayOptions' | |
|
Instances
newTextArrayOptions :: TextArrayOptions Source #
Create a value of TextArrayOptions
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:sourceFields:TextArrayOptions'
, textArrayOptions_sourceFields
- A list of source fields to map to the field.
$sel:returnEnabled:TextArrayOptions'
, textArrayOptions_returnEnabled
- Whether the contents of the field can be returned in the search results.
$sel:analysisScheme:TextArrayOptions'
, textArrayOptions_analysisScheme
- The name of an analysis scheme for a text-array
field.
$sel:highlightEnabled:TextArrayOptions'
, textArrayOptions_highlightEnabled
- Whether highlights can be returned for the field.
$sel:defaultValue:TextArrayOptions'
, textArrayOptions_defaultValue
- A value to use for the field if the field isn't specified for a
document.
textArrayOptions_sourceFields :: Lens' TextArrayOptions (Maybe Text) Source #
A list of source fields to map to the field.
textArrayOptions_returnEnabled :: Lens' TextArrayOptions (Maybe Bool) Source #
Whether the contents of the field can be returned in the search results.
textArrayOptions_analysisScheme :: Lens' TextArrayOptions (Maybe Text) Source #
The name of an analysis scheme for a text-array
field.
textArrayOptions_highlightEnabled :: Lens' TextArrayOptions (Maybe Bool) Source #
Whether highlights can be returned for the field.
textArrayOptions_defaultValue :: Lens' TextArrayOptions (Maybe Text) Source #
A value to use for the field if the field isn't specified for a document.