# Officer Search Resource

**URL:** <http://forum.companieshouse.gov.uk/t/officer-search-resource/2777>\
**Category:** Documentation Issues\
**Created:** [December 5, 2019, 12:58pm UTC](http://forum.companieshouse.gov.uk/t/officer-search-resource/2777 "2019-12-05T12:58:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![simon](http://forum.companieshouse.gov.uk/letter_avatar_proxy/v4/letter/s/f07891/32.png) [@simon](http://forum.companieshouse.gov.uk/u/simon)\
**Post date:** [December 5, 2019, 12:58pm UTC](http://forum.companieshouse.gov.uk/t/officer-search-resource/2777/1 "2019-12-05T12:58:33Z")

</div>

I am adding CH Officer Search to my app, and have been reviewing the resource at:

[https://developer.companieshouse.gov.uk/api/docs/search-overview/OfficerSearch-resource.html](https://developer.companieshouse.gov.uk/api/docs/search-overview/OfficerSearch-resource.html)

this shows the ‘matches’ property to be an array:

> “matches” : [{ “address\_snippet” : [ “integer”], “snippet” : [“integer”], “title” : [“integer”] } ],

But the API is just returning an object:

```
"matches":{"title":[1,5,7,11],"snippet":[]}

```

I presume it should be an object and this is just a mistake in the documentation?

---

<div class="post-metadata">

**Author:** ![MArkWilliams](http://forum.companieshouse.gov.uk/user_avatar/forum.companieshouse.gov.uk/markwilliams/32/194_2.png) [@MArkWilliams](http://forum.companieshouse.gov.uk/u/MArkWilliams)\
**Post date:** [December 10, 2019, 8:43am UTC](http://forum.companieshouse.gov.uk/t/officer-search-resource/2777/2 "2019-12-10T08:43:17Z")

</div>

Yes, this is an error in the documentation. It is not an array, it is a list.
