Newer Version Available

This content describes an older version of this product. View Latest

SearchResult

The search() call returns a SearchResult object, which has the following properties:

Name Type Description
searchRecords SearchRecord[] Array of SearchRecord objects, each of which contains an sObject.
searchResultsMetadata SearchResultsMetadata Metadata for searchRecords.
queryId string Unique identifier for the SOSL search.