---
title: textMatch
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/spotlightsearchtool/guidanceprofile/textmatch
---

# textMatch

A Boolean value that indicates whether to perform keyword-based text matching on your content.

## Declaration

```swift
var textMatch: Bool?
```

## Discussion

Discussion Set the value of this property is true to give the model the option to perform lexical matching on text content. 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)
- [similarityMatch](corespotlight/spotlightsearchtool/guidanceprofile/similaritymatch.md)
