| 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.CloudSearchDomains.Types.SuggestionMatch
Description
Documentation
data SuggestionMatch Source #
An autocomplete suggestion that matches the query string specified in a
SuggestRequest.
See: newSuggestionMatch smart constructor.
Constructors
| SuggestionMatch' | |
Instances
newSuggestionMatch :: SuggestionMatch Source #
Create a value of SuggestionMatch 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:id:SuggestionMatch', suggestionMatch_id - The document ID of the suggested document.
$sel:score:SuggestionMatch', suggestionMatch_score - The relevance score of a suggested match.
$sel:suggestion:SuggestionMatch', suggestionMatch_suggestion - The string that matches the query string specified in the
SuggestRequest.
suggestionMatch_id :: Lens' SuggestionMatch (Maybe Text) Source #
The document ID of the suggested document.
suggestionMatch_score :: Lens' SuggestionMatch (Maybe Integer) Source #
The relevance score of a suggested match.
suggestionMatch_suggestion :: Lens' SuggestionMatch (Maybe Text) Source #
The string that matches the query string specified in the
SuggestRequest.