# OfficerSearch - Search Functionality

**URL:** <http://forum.companieshouse.gov.uk/t/officersearch-search-functionality/405>\
**Category:** Uncategorized\
**Created:** [January 14, 2016, 9:25am UTC](http://forum.companieshouse.gov.uk/t/officersearch-search-functionality/405 "2016-01-14T09:25:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![csmith](http://forum.companieshouse.gov.uk/user_avatar/forum.companieshouse.gov.uk/csmith/32/8_2.png) [@csmith](http://forum.companieshouse.gov.uk/u/csmith)\
**Post date:** [January 14, 2016, 2:58pm UTC](http://forum.companieshouse.gov.uk/t/officersearch-search-functionality/405/2 "2016-01-14T14:58:47Z")

</div>

The API searching is more intelligent than the XMLGateway, and we have recently done a large amount of tuning to the search matching. This improved searching will be first used in the Disqualified Directors, due for release the week of the 25th, and will be introduced into officer search a little later:

> [@New Disqualified Officer functionality](http://forum.aws.chdev.org/t/new-disqualified-officer-functionality/407):
>
> During the week commencing 25th January 2016 we will be introducing new functionality to the API and Web Service. This functionality will introduce disqualified officers to CHS and the ability to search and view information on them. We have also improved the searching functionality for disqualifications and will be rolling this out to Officer and Company searching in the future. Early sight of the resource representations, are shown below:- DisqualifiedOfficerSearch resource. { "items" : …

Both the existing search and the improved search used on disqualified directors expect the “name” to be typed in as it would be written, so in your case `ELIZABETH RENDY`. The search results are returned in the same left-to-right order: “forename [othernames] lastname”:

```
{
    "title": "Elizabeth RENDY"
}

```

The current searching matches all the words in your search query, and produces results based on relevance. If records match with the words in the same order as the query, then it is deemed more relevant. It’s good, but could be better.

The improved search algorithm used on disqualified directors is much more intelligent and predictive, and produces exceptional results - we are really proud of it, and look forward to rolling that out to officer searching in the near future. When the disqualified directors search is released, you will be able to do a search result comparison yourself, to see the difference.

Hope that helps!

---

_[View the full topic](http://forum.companieshouse.gov.uk/t/officersearch-search-functionality/405)._
