# SearchResultsItem

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.SearchResultsItem/

Information on search results item (object version info + search specific info).

- **Full name:** `MFiles.SearchResultsItem`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-object"></a>`object` | [`ObjectVersionEx`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjectVersionEx/index.md) | 1 | The object and the found version: object ID, version, title, class, files and status. Property values are not included. |
| <a id="f-score"></a>`score` | `int32` | 2 | The relevance score of the result. Higher is more relevant. |
| <a id="f-chunk"></a>`chunk` | `string` | 3 | For an Aino search, the passage of text that matched. Empty for other searches. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCSearch.GetFolderContents](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/GetFolderContents/index.md): Lists the contents of a view or a view level: subviews, grouping folders and objects.
- [IRPCSearch.SearchObjects](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/SearchObjects/index.md): Searches the vault for objects that match the given conditions.

<a id="used-in-fields"></a>

## Used in fields

- [`ObjectsOrDelta.objects`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjectsOrDelta/index.md#f-objects): Objects. This contains inserted or updated objects if this struct represents a delta, otherwise it contains just a "normal" array of objects.
- [`PinnedObject.search_results_item`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.PinnedObject/index.md#f-search_results_item): The search result item.
- [`SearchObjectsResponse.results`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/SearchObjects/index.md#response): The matching objects, at most `limit`. Each item has the object and version information but not the property values.
- [`GetFolderContentsResponse.objects`](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCSearch/GetFolderContents/index.md#response): Resulting objects array.
