FtsMatchInfo

public struct FtsMatchInfo
extension FtsMatchInfo: Equatable, Hashable

Additional data about how an FTS match was made

  • Was this a prefix match (water b matched against water bottle)

    Declaration

    Swift

    public var prefix: Bool
  • Did the match require stemming? (run shoes matched against running 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)