SearchResultHighlight

public struct SearchResultHighlight : Codable, Equatable

An object containing segments of text from search results with query-matching text highlighted using HTML <em> tags.

  • An array of strings containing segments taken from body text in the search results, with query-matching substrings highlighted.

    Declaration

    Swift

    public var body: [String]?
  • An array of strings containing segments taken from title text in the search results, with query-matching substrings highlighted.

    Declaration

    Swift

    public var title: [String]?
  • url

    An array of strings containing segments taken from URLs in the search results, with query-matching substrings highlighted.

    Declaration

    Swift

    public var url: [String]?
  • Additional properties associated with this model.

    Declaration

    Swift

    public var additionalProperties: [String : [String]]
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws