IndexableRecord
public protocol IndexableRecord
Defines data for index to represent external data to be included in search functionality
-
Record unique identifier
Declaration
Swift
var id: String { get }
-
Record name
Declaration
Swift
var name: String { get }
-
Record coordinates
Declaration
Swift
var coordinate: CLLocationCoordinate2D { get }
-
Record address
Declaration
Swift
var address: Address? { get }
-
Additional string literals that should be included in object index. For example, you may provide non-official names to force
SearchEngine
match them.Declaration
Swift
var additionalTokens: Set<String>? { get }