---
title: isSearchable
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/cscustomattributekey/issearchable
---

# isSearchable

A Boolean value that indicates if the custom attribute can be specified as a search term.

## Declaration

```swift
var isSearchable: Bool { get }
```

## Discussion

Discussion The default value of this property is true.

## See Also

### Getting the attribute details

- [keyName](corespotlight/cscustomattributekey/keyname.md)
- [isMultiValued](corespotlight/cscustomattributekey/ismultivalued.md)
- [isSearchableByDefault](corespotlight/cscustomattributekey/issearchablebydefault.md)
- [isUnique](corespotlight/cscustomattributekey/isunique.md)
