Skip to content

/AWS1/CL_SRHSUGGESTER

Configuration information for a search suggester. Each suggester has a unique name and specifies the text field you want to use for suggestions. The following options can be configured for a suggester: FuzzyMatching, SortExpression.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_suggestername TYPE /AWS1/SRHSTANDARDNAME /AWS1/SRHSTANDARDNAME

Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).

io_documentsuggesteroptions TYPE REF TO /AWS1/CL_SRHDOCSUGGESTEROPTS /AWS1/CL_SRHDOCSUGGESTEROPTS

Options for a search suggester.


Queryable Attributes

SuggesterName

Names must begin with a letter and can contain the following characters: a-z (lowercase), 0-9, and _ (underscore).

Accessible with the following methods

Method Description
GET_SUGGESTERNAME() Getter for SUGGESTERNAME, with configurable default
ASK_SUGGESTERNAME() Getter for SUGGESTERNAME w/ exceptions if field has no value
HAS_SUGGESTERNAME() Determine if SUGGESTERNAME has a value

DocumentSuggesterOptions

Options for a search suggester.

Accessible with the following methods

Method Description
GET_DOCUMENTSUGGESTEROPTIONS() Getter for DOCUMENTSUGGESTEROPTIONS