MustangReposWwwSnippetsSnippetsRanklabFeatures

GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsSnippetsRanklabFeatures


Table of Contents ▼

Jump to a specific part of the page:

Description

This is a protocol buffer to export into flatfiles in ranklab. All fields are converted into flatfiles with some specific prefix and a field name like 'snippet_features_snippet_data_source_type'.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. browserWidth (type: integer(), default: nil)
    - Browser width.
  2. candidates (type: list(GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsSnippetCandidate), default: nil)
    - Features for snippets candidates, generated by both old and new scorer. Currently only features for chosen candidate is generated.
  3. displaySnippet (type: GoogleApi.ContentWarehouse.V1.Model.QualityPreviewRanklabSnippet, default: nil)
    - Snippet features for the final chosen snippet. This field is firstly populated by Muppet, and then overwriten by Superroot if SnippetBrain is triggered.
  4. documentLanguage (type: String.t, default: nil)
    - locale of the document.
  5. originalQueryTermCoverages (type: GoogleApi.ContentWarehouse.V1.Model.QualityPreviewSnippetQueryTermCoverageFeatures, default: nil)
    - Original query term coverage in titles and / or snippets.
  6. queryLanguage (type: String.t, default: nil)
    - locale of the query,
  7. snippetDataSourceType (type: integer(), default: nil)
    - Snippet data source.
  8. snippetQueryTermCoverage (type: number(), default: nil)
    - Query term coverage in snippets.
  9. snippets (type: list(GoogleApi.ContentWarehouse.V1.Model.QualityPreviewRanklabSnippet), default: nil)
    - Snippet features for Muppet snippet candidates. In production, only the data for chosen snippet will be recorded.
  10. titleDataSourceType (type: integer(), default: nil)
    - Title data source.
  11. titleQueryTermCoverage (type: number(), default: nil)
    - Query term coverage in titles.
  12. titleSnippetQueryTermCoverage (type: number(), default: nil)
    - Query term coverage in titles and snippets.
  13. titles (type: list(GoogleApi.ContentWarehouse.V1.Model.QualityPreviewRanklabTitle), default: nil)
    - Per-candidate title features for ranklab models, sorted from the best candidate to the worst candidate (i.e., the first element is the actually selected title).

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsSnippetsRanklabFeatures{
browserWidth: integer() | nil,
candidates: [ GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsSnippetCandidate.t() ] | nil,
displaySnippet: GoogleApi.ContentWarehouse.V1.Model.QualityPreviewRanklabSnippet.t() | nil,
documentLanguage: String.t() | nil,
originalQueryTermCoverages: GoogleApi.ContentWarehouse.V1.Model.QualityPreviewSnippetQueryTermCoverageFeatures.t() | nil,
queryLanguage: String.t() | nil,
snippetDataSourceType: integer() | nil,
snippetQueryTermCoverage: number() | nil,
snippets: [GoogleApi.ContentWarehouse.V1.Model.QualityPreviewRanklabSnippet.t()] | nil,
titleDataSourceType: integer() | nil,
titleQueryTermCoverage: number() | nil,
titleSnippetQueryTermCoverage: number() | nil,
titles: [GoogleApi.ContentWarehouse.V1.Model.QualityPreviewRanklabTitle.t()] | nil
}

Function

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

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