UniversalsearchNewPackerKnowledgeResultSupport

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

  1. 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.
  2. docid (type: String.t, default: nil)
    - The docid of the result, if available.
  3. estimatedNaviness (type: number(), default: nil)
    - The naviness for this result. Each matcher can determine the naviness to use for the result. This can be copied directly from the result, or estimated based on clicks or some other heuristic. The value should be between 0 and 1 and should indicate the probability that the user will click on that result. The estimated_naviness is used to break ties when between results with the same rank.
  4. provenance (type: list(GoogleApi.ContentWarehouse.V1.Model.UniversalsearchNewPackerKnowledgeResultSupportProvenance), default: nil)
    - All provenances of this result support.
  5. 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.
  6. 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.
  7. source (type: String.t, default: nil)
    - The source of the result support.
  8. 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
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.UniversalsearchNewPackerKnowledgeResultSupport