---
title: SpotlightSearchTool.ContentDomain.Communications
framework: corespotlight
role: symbol
role_heading: Structure
path: corespotlight/spotlightsearchtool/contentdomain/communications-swift.struct
---

# SpotlightSearchTool.ContentDomain.Communications

Attribute mapping for the communications domain.

## Declaration

```swift
struct Communications
```

## Overview

Overview Each field is an optional array of SearchableItemAttribute values to query across. nil uses the built-in default mapping. Use textContent to trigger a full-text keyword search across all indexed content.

## Topics

### Configuring the domain

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

### 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)
- [topic](corespotlight/spotlightsearchtool/contentdomain/communications-swift.struct/topic.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting the communications domain

- [communications](corespotlight/spotlightsearchtool/contentdomain/communications-swift.type.property.md)
- [communications(_:)](corespotlight/spotlightsearchtool/contentdomain/communications(_:).md)
