OfficialPagesOfficialKey

GoogleApi.ContentWarehouse.V1.Model.OfficialPagesOfficialKey


Table of Contents ▼

Jump to a specific part of the page:

Description

This proto is used as the key for official pages data. WARNING WARNING WARNING WARNING WARNING PAY ATTENTION HERE! The query field contains a specially NORMALIZED query, NOT a raw one. You can get a normalized query in several ways: 1. from an squery with NormalizedQueryFromSquery 2. from a CJK-segmented and punctuation-stripped query with NormalizeText (NOTE: navboost queries are already CJK-segmented and punctuation-stripped, you can just pass them to NormalizeText) 3. from user text/query with CanonicalizeText (this will do the CJK segmenting, punctuation stripping and character normalization for you) All of these functions are in ./utils/external-utils.h

Attributes List

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

View Attributes

Attributes

  1. country (type: String.t, default: nil)
    -
  2. language (type: integer(), default: nil)
    -
  3. query (type: String.t, default: nil)
    -

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.OfficialPagesOfficialKey{
country: String.t() | nil,
language: integer() | nil,
query: String.t() | nil
}

Function

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

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