---
title: numericMatch
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/spotlightsearchtool/guidanceprofile/numericmatch
---

# numericMatch

A Boolean value that indicates whether to determine matches using numerical values.

## Declaration

```swift
var numericMatch: Bool?
```

## Discussion

Discussion Set the value of this property to true to give the model the option to compare numerical values. For example, you might enable this option if your content contains Boolean attributes, star ratings, or any other attributes with numerical values. 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)
- [people](corespotlight/spotlightsearchtool/guidanceprofile/people.md)
- [similarityMatch](corespotlight/spotlightsearchtool/guidanceprofile/similaritymatch.md)
- [textMatch](corespotlight/spotlightsearchtool/guidanceprofile/textmatch.md)
