---
title: fetchAttributes
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/cssearchquerycontext/fetchattributes
---

# fetchAttributes

The attributes the system fetches for the searchable items.

## Declaration

```swift
var fetchAttributes: [String] { get set }
```

## Mentioned in

Searching for information in your app

## See Also

### Configuring search behavior

- [keyboardLanguage](corespotlight/cssearchquerycontext/keyboardlanguage.md)
- [sourceOptions](corespotlight/cssearchquerycontext/sourceoptions-swift.property.md)
- [CSSearchQueryContext.SourceOptions](corespotlight/cssearchquerycontext/sourceoptions-swift.struct.md)
