# Site search now supports fuzzy search

[date: 2022-09-06T11:33:40.251+02:00]

We just introduced a new parameter that can be added to the `filter` parameter of site search to enable a fuzzy search. When the parameter `fuzzy` filter is present, our search engine will find strings that *approximately* match the query provided.

Here is an example of how to use the feature:

```javascript
const searchResults = await client.searchResults.list({
  page: {
    offset: 200,
    limit: 20
  },
  filter: {
    fuzzy: true,
    query: 'florance',
    build_trigger_id: '44',
    locale: 'en'
  }
});

searchResults.forEach((searchResult) => {
  console.log(searchResult);
});
```

In this example, strings like *florence* will be matched, even if the query is *flor****a****nce*.

Please refer to the [site search page](https://www.datocms.com/docs/content-management-api/resources/search-result/instances.md) in the Content Management API documentation for a complete example.