---
title: topic
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/spotlightsearchtool/contentdomain/communications-swift.struct/topic
---

# topic

Attributes queried for the subject/body field. Default: textContent

## Declaration

```swift
var topic: [SearchableItemAttribute]?
```

## See Also

### Getting the domain attributes

- [authors](corespotlight/spotlightsearchtool/contentdomain/communications-swift.struct/authors.md)
- [received](corespotlight/spotlightsearchtool/contentdomain/communications-swift.struct/received.md)
- [recipients](corespotlight/spotlightsearchtool/contentdomain/communications-swift.struct/recipients.md)
- [sent](corespotlight/spotlightsearchtool/contentdomain/communications-swift.struct/sent.md)
