| 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.TextOptions
Description
Synopsis
- data TextOptions = TextOptions' {}
- newTextOptions :: TextOptions
- textOptions_analysisScheme :: Lens' TextOptions (Maybe Text)
- textOptions_defaultValue :: Lens' TextOptions (Maybe Text)
- textOptions_highlightEnabled :: Lens' TextOptions (Maybe Bool)
- textOptions_returnEnabled :: Lens' TextOptions (Maybe Bool)
- textOptions_sortEnabled :: Lens' TextOptions (Maybe Bool)
- textOptions_sourceField :: 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.
Constructors
| TextOptions' | |
Fields
| |
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:analysisScheme:TextOptions', textOptions_analysisScheme - The name of an analysis scheme for a text field.
$sel:defaultValue:TextOptions', textOptions_defaultValue - A value to use for the field if the field isn't specified for a
document.
$sel:highlightEnabled:TextOptions', textOptions_highlightEnabled - Whether highlights can be returned for the field.
$sel:returnEnabled:TextOptions', textOptions_returnEnabled - Whether the contents of the field can be returned in the search results.
$sel:sortEnabled:TextOptions', textOptions_sortEnabled - Whether the field can be used to sort the search results.
$sel:sourceField:TextOptions', textOptions_sourceField - Undocumented member.
textOptions_analysisScheme :: Lens' TextOptions (Maybe Text) Source #
The name of an analysis scheme for a text field.
textOptions_defaultValue :: Lens' TextOptions (Maybe Text) Source #
A value to use for the field if the field isn't specified for a document.
textOptions_highlightEnabled :: Lens' TextOptions (Maybe Bool) Source #
Whether highlights can be returned for the field.
textOptions_returnEnabled :: Lens' TextOptions (Maybe Bool) Source #
Whether the contents of the field can be returned in the search results.
textOptions_sortEnabled :: Lens' TextOptions (Maybe Bool) Source #
Whether the field can be used to sort the search results.
textOptions_sourceField :: Lens' TextOptions (Maybe Text) Source #
Undocumented member.