CIOSearchResponse
public struct CIOSearchResponse
Struct representing the search data response from the server.
-
List of facets returned for the result set
Declaration
Swift
public let facets: [CIOFilterFacet] -
List of groups (categories) returned for the result set
Declaration
Swift
public let groups: [CIOFilterGroup] -
List of results returned for the search query
Declaration
Swift
public let results: [CIOResult] -
Additional info about the redirect
Declaration
Swift
public let redirectInfo: CIOSearchRedirectInfo? -
A list of sorting options
Declaration
Swift
public let sortOptions: [CIOSortOption] -
Total number of results for the query
Declaration
Swift
public let totalNumResults: Int -
Result ID of the result set returned
Declaration
Swift
public let resultID: String -
Sources of the result set
Declaration
Swift
public let resultSources: CIOResultSources? -
A list of refined content
Declaration
Swift
public let refinedContent: [CIORefinedContent] -
Flag to determine if the response is a redirect
Declaration
Swift
public var isRedirect: Bool { get } -
Request object used to retrieve the Search Response
Declaration
Swift
public var request: JSONObject