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

# keywords

Attributes queried for content keywords. Default: textContent

## Declaration

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

## See Also

### Getting the domain attributes

- [authors](corespotlight/spotlightsearchtool/contentdomain/documents-swift.struct/authors.md)
- [created](corespotlight/spotlightsearchtool/contentdomain/documents-swift.struct/created.md)
- [modified](corespotlight/spotlightsearchtool/contentdomain/documents-swift.struct/modified.md)
