cloudsearchdomain_suggest: Retrieves autocomplete suggestions for a partial query string

View source: R/cloudsearchdomain_operations.R

cloudsearchdomain_suggestR Documentation

Retrieves autocomplete suggestions for a partial query string

Description

Retrieves autocomplete suggestions for a partial query string. You can use suggestions enable you to display likely matches before users finish typing. In Amazon CloudSearch, suggestions are based on the contents of a particular text field. When you request suggestions, Amazon CloudSearch finds all of the documents whose values in the suggester field start with the specified query string. The beginning of the field must match the query string to be considered a match.

See https://www.paws-r-sdk.com/docs/cloudsearchdomain_suggest/ for full documentation.

Usage

cloudsearchdomain_suggest(query, suggester, size = NULL)

Arguments

query

[required] Specifies the string for which you want to get suggestions.

suggester

[required] Specifies the name of the suggester to use to find suggested matches.

size

Specifies the maximum number of suggestions to return.


paws.analytics documentation built on Sept. 11, 2023, 5:06 p.m.