Instance Property

isSearchable

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

Declaration

var isSearchable: Bool { get }

Discussion

The default value of this property is true.

See Also

New Methods

init?(keyName: String)

Returns a new custom attribute key with the specified name.

init?(keyName: String, searchable: Bool, searchableByDefault: Bool, unique: Bool, multiValued: Bool)

Returns a new custom attribute key with the specified name and properties.

var keyName: String

The name of the custom attribute key.

var isMultiValued: Bool

A Boolean value that indicates if the custom attribute is likely to have multiple values, such as arrays, associated with it.

var isSearchableByDefault: Bool

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

var isUnique: Bool

A Boolean value that indicates if duplicate custom attribute values should be treated as the same value to save storage space.