FtsMatchInfo

public struct FtsMatchInfo : Equatable, Hashable
extension FtsMatchInfo: Sendable

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)