View Source GoogleApi.ContentWarehouse.V1.Model.AnchorsAnchorSource (google_api_content_warehouse v0.3.0)

attributes of the source document for the link

Attributes

  • additionalInfo (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) - Additional information related to the source, such as news hub info.
  • cluster (type: integer(), default: nil) - anchor++ cluster id
  • compressedUrl (type: String.t, default: nil) - compressed source url
  • crawlTimestamp (type: String.t, default: nil) - Source page crawl timestamp.
  • docid (type: String.t, default: nil) - The docid field used to be "required", but it is now "optional" because it is not present when anchors are stored in webtable. When anchors are stored as part of docjoin files in the segment indexer, however, docid should be considered required.
  • doclength (type: integer(), default: nil) - necessary for anything?
  • homePageInfo (type: integer(), default: nil) - Information about if the source page is a home page. It can be one of the enum values defined in PerDocData::HomePageInfo (NOT_HOMEPAGE, NOT_TRUSTED, PARTIALLY_TRUSTED, and FULLY_TRUSTED).
  • indyrank (type: integer(), default: nil) - uint16 scale
  • ipaddr (type: integer(), default: nil) - DEPRECATED, use packed_ipaddress
  • language (type: integer(), default: nil) - default -> English
  • linkhash (type: String.t, default: nil) - 0 -> no hash
  • localCountryCodes (type: list(integer()), default: nil) - Countries to which the source page is local/most relevant; stored as III identifiers for country/region codes (see http://go/iii).
  • nsr (type: integer(), default: nil) - This NSR value has range [0,1000] and is the original value [0.0,1.0] multiplied by 1000 rounded to an integer.
  • outdegree (type: integer(), default: nil) -
  • outsites (type: integer(), default: nil) - approx num of pointed-to sites
  • packedIpaddress (type: String.t, default: nil) - string in IPAddress::ToPackedString() format.
  • pageTags (type: list(integer()), default: nil) - Page tags are described by enum PageTag in PerDocData. Page tags are used in anchors to identify properties of the linking page. These are DEPRECATED: in the future, use link_tags instead. DEPRECATED
  • pagerank (type: integer(), default: nil) - uint16 scale
  • pagerankNs (type: integer(), default: nil) - unit16 scale
  • seglanguage (type: integer(), default: nil) - DEPRECATED
  • site (type: String.t, default: nil) -
  • spamrank (type: integer(), default: nil) - uint16 scale
  • spamscore1 (type: integer(), default: nil) - deprecated, to be removed after October 20. 0-127 scale
  • spamscore2 (type: integer(), default: nil) - 0-127 scale
  • webtableKey (type: String.t, default: nil) - Webtable key of source

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AnchorsAnchorSource{
  additionalInfo:
    GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
  cluster: integer() | nil,
  compressedUrl: String.t() | nil,
  crawlTimestamp: String.t() | nil,
  docid: String.t() | nil,
  doclength: integer() | nil,
  homePageInfo: integer() | nil,
  indyrank: integer() | nil,
  ipaddr: integer() | nil,
  language: integer() | nil,
  linkhash: String.t() | nil,
  localCountryCodes: [integer()] | nil,
  nsr: integer() | nil,
  outdegree: integer() | nil,
  outsites: integer() | nil,
  packedIpaddress: String.t() | nil,
  pageTags: [integer()] | nil,
  pagerank: integer() | nil,
  pagerankNs: integer() | nil,
  seglanguage: integer() | nil,
  site: String.t() | nil,
  spamrank: integer() | nil,
  spamscore1: integer() | nil,
  spamscore2: integer() | nil,
  webtableKey: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.