GoogleApi.ContentWarehouse.V1.Model.UniversalsearchNewPackerKnowledgeResultSupport
Table of Contents ▼
Jump to a specific part of the page:
Description
Information about the result support for a given interpretation.
Attributes List
This module has the following attributes (case-insensitive ascending order):
View Attributes
Attributes
-
debug
(type:String.t
, default:nil
)
- A debug message that summarizes how the score was computed. Populated if result was matched and in debug mode. -
docid
(type:String.t
, default:nil
)
- The docid of the result, if available. -
provenance
(type:list(GoogleApi.ContentWarehouse.V1.Model.UniversalsearchNewPackerKnowledgeResultSupportProvenance)
, default:nil
)
- All provenances of this result support. -
rank
(type:integer()
, default:nil
)
- The 0 based rank for this result. When the source is MAIN_GSR this corresponds to the index of the result in the generic search response specific in AddKnowledgePackerPreprocessors. Otherwise, the rank should be estimated so the result is closest in importance to the web result at the same rank. -
score
(type:number()
, default:nil
)
- A score from 0 to 1 inclusive that represents the strength of the result support. A score of one indicates this result is entirely about this interpretation. -
source
(type:String.t
, default:nil
)
- The source of the result support. -
url
(type:String.t
, default:nil
)
- The result url when available.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.UniversalsearchNewPackerKnowledgeResultSupport{
debug: String.t() | nil,
docid: String.t() | nil,
estimatedNaviness: number() | nil,
provenance: [ GoogleApi.ContentWarehouse.V1.Model.UniversalsearchNewPackerKnowledgeResultSupportProvenance.t() ] | nil,
rank: integer() | nil,
score: number() | nil,
source: String.t() | nil,
url: String.t() | nil
}
debug: String.t() | nil,
docid: String.t() | nil,
estimatedNaviness: number() | nil,
provenance: [ GoogleApi.ContentWarehouse.V1.Model.UniversalsearchNewPackerKnowledgeResultSupportProvenance.t() ] | nil,
rank: integer() | nil,
score: number() | nil,
source: String.t() | nil,
url: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.UniversalsearchNewPackerKnowledgeResultSupport