FtsMatchInfo
public struct FtsMatchInfo
extension FtsMatchInfo: Sendable
extension FtsMatchInfo: Equatable, Hashable
Additional data about how an FTS match was made
-
Was this a prefix match (
water bmatched againstwater bottle)Declaration
Swift
public var prefix: Bool -
Did the match require stemming? (
run shoesmatched againstrunning shoes)Declaration
Swift
public var stemming: Bool -
Declaration
Swift
public init( /** * Was this a prefix match (`water b` matched against `water bottle`) */prefix: Bool, /** * Did the match require stemming? (`run shoes` matched against `running shoes`) */stemming: Bool) -
Declaration
Swift
public static func == (lhs: FtsMatchInfo, rhs: FtsMatchInfo) -> Bool -
Declaration
Swift
public func hash(into hasher: inout Hasher)