---
title: isSearchableByDefault
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/cscustomattributekey/issearchablebydefault
---

# isSearchableByDefault

A Boolean value that indicates if the custom attribute should be searchable by default.

## Declaration

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

## Discussion

Discussion The default value of this property is false.

## See Also

### Getting the attribute details

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