GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfo
Table of Contents ▼
Jump to a specific part of the page:
Description
The docshards are a FlatSSTable from (64-bit) urlfp to data containing the information found in this protocol buffer. (It's not actually one of these PBs for various performance reasons; instead, the DocumentFormat class handles serialization and deserialization in our own way) Next available ID: 37
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
attachment
(type:list(GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfoAttachment)
, default:nil
)
- -
averageTermWeight
(type:integer()
, default:nil
)
- The average weight of terms in the document. If not available, there will be no term weight averaging: font sizes will be taken literally from the document HTML. -
doc
(type:GoogleApi.ContentWarehouse.V1.Model.GDocumentBase
, default:nil
)
- The document itself. If present, the docservers parse the contents to create a mustang repository. -
extendedDocid
(type:String.t
, default:nil
)
- The serialized ExtendedDocId, needed to construct a proper docinfo response if the docinfo request is missing it and it's present. -
globalDocid
(type:String.t
, default:nil
)
- the global docid, we need it in the docservers (Continuum mode) to construct proper docinfo response when the docinfo request does not contain a valid global docid -
originalEncoding
(type:integer()
, default:nil
)
- If the original encoding isn't UTF8 -
section
(type:list(GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfoSection)
, default:nil
)
- -
sectionType
(type:String.t
, default:nil
)
- Indicates format of 'tokens' field in all Section entries.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfo{
attachment: [GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfoAttachment.t()] | nil,
averageTermWeight: integer() | nil,
doc: GoogleApi.ContentWarehouse.V1.Model.GDocumentBase.t() | nil,
extendedDocid: String.t() | nil,
globalDocid: String.t() | nil,
originalEncoding: integer() | nil,
section: [GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfoSection.t()] | nil,
sectionType: String.t() | nil
}
attachment: [GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfoAttachment.t()] | nil,
averageTermWeight: integer() | nil,
doc: GoogleApi.ContentWarehouse.V1.Model.GDocumentBase.t() | nil,
extendedDocid: String.t() | nil,
globalDocid: String.t() | nil,
originalEncoding: integer() | nil,
section: [GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfoSection.t()] | nil,
sectionType: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.TeragoogleDocumentInfo