---
schema_version: "1"
id: ea5a69708e0321ecbcf2da8c86647ef806f817959a2575767f550df16e165d1d
title: ConnectApi.ScopedSearchResults
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_scoped_search_result.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_scoped_search_result.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d8ee8ae852005b2035a6fe6025b5b372c6ff58c6de27821d36f4b18a972a5c38
description: Keyword search results for an object.
---
# ConnectApi.ScopedSearchResults

Keyword search results for an object.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| metadata | [ConnectApi.​ObjectMetadata](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_object_metadat.htm "Search metadata related to the object.") | All search metadata associated with the object. | 63.0 |
| objectQueryInfo | [ConnectApi.​ObjectQueryInfo](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_object_query_inf.htm "Search query metadata related to the object.") | Query execution information for the object. | 64.0 |
| queryId | String | Unique identifier assigned to a search query to enable tracking usage and analysis of user interactions with search results. | 65.0 |
| results | [List](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_methods_system_list.htm#apex_methods_system_list "Contains methods for the List collection type.")<[ConnectApi.​SearchResult](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_search_resul.htm "Results from searching an object using keywords.")\> | Record results for the keyword search. | 64.0 |
| searchObject | [ConnectApi.​SearchObject](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_search_objec.htm "Record results for the keyword search.") | Record results for the keyword search. In version 64.0 and later, use results for record results. | 63.0 only |

#### See Also

- [find(objectApiName, request)](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_ConnectAPI_Search_static_methods.htm#apex_ConnectAPI_Search_find_object_1 "Search an object using keywords and return results.")