QualityNsrNsrChunksProto

GoogleApi.ContentWarehouse.V1.Model.QualityNsrNsrChunksProto


Table of Contents ▼

Jump to a specific part of the page:

Description

The NsrChunksProto corresponds to the NSRChunks class. The data saved by the proto and the class is the same. We provide utilities to go from one to the other.

Attributes List

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

View Attributes

Attributes

  1. primaryChunk (type: String.t, default: nil)
    - Primary NSR sitechunk. In most of the cases it's same as HOST_LEVEL_V3 sitechunked canonical url of the document. In rare, but important cases it's based on page markup (see quality/nsr/util/sitechunker.h for details).
  2. secondaryChunks (type: list(String.t), default: nil)
    - Secondary NSR sitechunk. When present, it provides more granular chunking than primary sitechunks (see quality/nsr/util/sitechunker.h for details). Note that the NSRChunks class does not store trivial secondary chunks. Be aware of this when constructing NsrChunksProto from scratch.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.QualityNsrNsrChunksProto{
primaryChunk: String.t() | nil,
secondaryChunks: [String.t()] | nil
}

Function

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

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