LocalsearchChainId

GoogleApi.ContentWarehouse.V1.Model.LocalsearchChainId


Table of Contents ▼

Jump to a specific part of the page:

Description

An unique identification of a chain. The following are the possible chain id forms: 1) prominent_entity_id only: The entity uniquely represents a chain, which may have multiple sitechunks. 2) sitechunk only: The sitechunk uniquely represents a chain while the chain currently does not have an entity in KG. 3) prominent_entity_id + sitechunk: The chain could be represented by the entity, but not merged at last, and the sitechunks represents the chain better. 4) prominent_entity_id + category: There are multiple subchains for the prominent entity, and category is used to differentiate subchains. NOTE: the size and complexity of the ChainId proto has implications in the serving system and should be thoughtfully kept under control.

Attributes List

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

View Attributes

Attributes

  1. category (type: String.t, default: nil)
    - The category associated with this chain, currently only used for subchains.
  2. prominentEntityId (type: String.t, default: nil)
    - The Knowledge Graph (KG) entity of the chain, found and used in chain mining.
  3. sitechunk (type: String.t, default: nil)
    - The website sitechunk/domain that is owned by the chain.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.LocalsearchChainId{
category: String.t() | nil,
prominentEntityId: String.t() | nil,
sitechunk: String.t() | nil
}

Function

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

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