Returns the result codes for failed agents segmented by agent in JSON format of pairs {agent errorCode}. If an error occurred the error message can be retrieved using getLocalizedErrorMessageForAgent.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| Object | readonly | Return the facets that are provided by this set of search results. | |
| Array | readonly | The individual results provided by this results object that match the given facet. |
Methods
→ Object
→ Array
The individual results provided by this results object that match the given facet. The facet vector can be empty in which case all existing search results will be returned.
facets
Varies
→ String
If the search for this result set failed this call returns a localized error message in the current application language that can be presented to the user. In case search was successful this call returns an empty string. Agents do not have to provide a localized error message in which case this function will return a generic error message saying "Search failed with code: <result code>"
agentIdentifier
String