QueryResultMetadata
public struct QueryResultMetadata : Codable, Equatable
Metadata of a query result.
-
An unbounded measure of the relevance of a particular result, dependent on the query and matching document. A higher score indicates a greater match to the query parameters.
Declaration
Swift
public var score: Double -
The confidence score for the given result. Calculated based on how relevant the result is estimated to be. confidence can range from
0.0to1.0. The higher the number, the more relevant the document. Theconfidencevalue for a result was calculated using the model specified in thedocument_retrieval_strategyfield of the result set.Declaration
Swift
public var confidence: Double?
View on GitHub
QueryResultMetadata Structure Reference