---
schema_version: "1"
id: ade57b2c02297c1a3bbafdbcc7c6a5af8f4b836e05fd16db79c3ae7c584f6e20
title: ConnectApi.ObjectQueryInfo
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_connectapi_output_object_query_inf.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_object_query_inf.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: f60a2fa387b2bee064a462d7aa32e69969a796bd1411eb60534490c78b65c568
description: Search query metadata related to the object.
---
# ConnectApi.ObjectQueryInfo

Search query metadata related to the object.

| Property Name | Type | Description | Available Version |
| --- | --- | --- | --- |
| displayFields | [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.")<String> | Fields to display from the response. | 64.0 |
| hasMoreResults | Boolean | Specifies whether there are more records to fetch matching the search query for the object (true) or not (false). | 64.0 |
| nameField | String | Name field identifier of the object. | 64.0 |
| numberOfMatches | Integer | Number of results for the object matching the search query. | 64.0 |
| orderBy | [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.​SearchApplied​OrderBy](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_applied_order_b.htm "The applied order for object search.")\> | Applied order for object search. | 64.0 |
| source | String | Source name for the object. | 64.0 |
| spellCorrectionInfo | [ConnectApi.​SpellCorrection​Info](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_spell_correction_inf.htm "Spell correction information for object search.") | Spell correction information for the object search. | 64.0 |
| status | [ConnectApi.​SearchStatus](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_statu.htm "Provides status on the object search.") | Status on the object search such as error messages and warnings. | 64.0 |

#### See Also

- [ConnectApi.QueryInfo](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_query_inf.htm "Query execution information.")
- [ConnectApi.ScopedSearchResults](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_connectapi_output_scoped_search_result.htm "Keyword search results for an object.")