Skip to content

/AWS1/CL_SRH=>DEFINESUGGESTER()

About DefineSuggester

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.

Method Signature

IMPORTING

Required arguments:

IV_DOMAINNAME TYPE /AWS1/SRHDOMAINNAME /AWS1/SRHDOMAINNAME

DomainName

IO_SUGGESTER TYPE REF TO /AWS1/CL_SRHSUGGESTER /AWS1/CL_SRHSUGGESTER

Suggester

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SRHDEFINESUGGESTERRSP /AWS1/CL_SRHDEFINESUGGESTERRSP