QueryResult
public struct QueryResult : Codable, Equatable
Result document for the specified query.
-
The unique identifier of the document.
Declaration
Swift
public var documentID: String -
Metadata of the document.
Declaration
Swift
public var metadata: [String : JSON]? -
Metadata of a query result.
Declaration
Swift
public var resultMetadata: QueryResultMetadata -
Passages from the document that best matches the query.
Declaration
Swift
public var documentPassages: [QueryResultPassage]? -
Additional properties associated with this model.
Declaration
Swift
public var additionalProperties: [String : JSON] -
Declaration
Swift
public init(from decoder: Decoder) throws -
Declaration
Swift
public func encode(to encoder: Encoder) throws
View on GitHub
QueryResult Structure Reference