/AWS1/CL_SRDSUGGESTMODEL¶
Container for the suggestion information returned in a SuggestResponse.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_query TYPE /AWS1/SRDSTRING /AWS1/SRDSTRING¶
The query string specified in the suggest request.
iv_found TYPE /AWS1/SRDLONG /AWS1/SRDLONG¶
The number of documents that were found to match the query string.
it_suggestions TYPE /AWS1/CL_SRDSUGGESTIONMATCH=>TT_SUGGESTIONS TT_SUGGESTIONS¶
The documents that match the query string.
Queryable Attributes¶
query¶
The query string specified in the suggest request.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_QUERY() |
Getter for QUERY, with configurable default |
ASK_QUERY() |
Getter for QUERY w/ exceptions if field has no value |
HAS_QUERY() |
Determine if QUERY has a value |
found¶
The number of documents that were found to match the query string.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FOUND() |
Getter for FOUND |
suggestions¶
The documents that match the query string.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SUGGESTIONS() |
Getter for SUGGESTIONS, with configurable default |
ASK_SUGGESTIONS() |
Getter for SUGGESTIONS w/ exceptions if field has no value |
HAS_SUGGESTIONS() |
Determine if SUGGESTIONS has a value |