---
title: searchTermsOperator
framework: intents
role: symbol
role_heading: Instance Property
path: intents/insearchformessagesintent/searchtermsoperator
---

# searchTermsOperator

The operator that defines how to use the set of terms in the search criteria.

## Declaration

```swift
var searchTermsOperator: INConditionalOperator { get }
```

## Discussion

Discussion This property indicates whether the message must contain all, some, or none of the terms listed in the searchTerms property.

## See Also

### Getting the Search Criteria

- [searchTerms](intents/insearchformessagesintent/searchterms.md)
- [dateTimeRange](intents/insearchformessagesintent/datetimerange.md)
- [attributes](intents/insearchformessagesintent/attributes.md)
