---
title: similarityMatch
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/spotlightsearchtool/guidanceprofile/similaritymatch
---

# similarityMatch

A Boolean value that indicates whether to perform semantic similarity matching on your content.

## Declaration

```swift
var similarityMatch: Bool?
```

## Discussion

Discussion Set the value of this property true true to give the model the option to perform semantic searches of content. This approach allows the search to return results that match the intent of the provided string and not just the actual search term. For example, if model performs a semantic match against the word “star”, the tool can match items that contain the text “star”, “sun”, or “Betelgeuse”. If you don’t specify a value for this property, the default value is false.

## See Also

### Specifying the supported search techniques

- [contentType](corespotlight/spotlightsearchtool/guidanceprofile/contenttype.md)
- [dates](corespotlight/spotlightsearchtool/guidanceprofile/dates.md)
- [numericMatch](corespotlight/spotlightsearchtool/guidanceprofile/numericmatch.md)
- [people](corespotlight/spotlightsearchtool/guidanceprofile/people.md)
- [textMatch](corespotlight/spotlightsearchtool/guidanceprofile/textmatch.md)
