Define Suggester
cloudsearch_define_suggester | R Documentation |
Configures a suggester for a domain¶
Description¶
Configures a suggester for a domain. A suggester enables you to display possible matches before users finish typing their queries. When you configure a suggester, you must specify the name of the text field you want to search for possible matches and a unique name for the suggester. For more information, see Getting Search Suggestions in the Amazon CloudSearch Developer Guide.
Usage¶
Arguments¶
DomainName
[required]
Suggester
[required]
Value¶
A list with the following syntax:
list(
Suggester = list(
Options = list(
SuggesterName = "string",
DocumentSuggesterOptions = list(
SourceField = "string",
FuzzyMatching = "none"|"low"|"high",
SortExpression = "string"
)
),
Status = list(
CreationDate = as.POSIXct(
"2015-01-01"
),
UpdateDate = as.POSIXct(
"2015-01-01"
),
UpdateVersion = 123,
State = "RequiresIndexDocuments"|"Processing"|"Active"|"FailedToValidate",
PendingDeletion = TRUE|FALSE
)
)
)