View Source GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefImageQueryIndices (google_api_content_warehouse v0.4.0)
Identifies a set of Image NavBoost queries in the CompositeDoc. Each CompositeDoc can contain several images, so we store the image index from the CompositeDoc::doc_images with the index of the particular query inside ImageData::image_data_navboost.
Attributes
-
canonicalDocid
(type:String.t
, default:nil
) - The (canonical) image docid of the ImageData this image query is part of. Useful for identifying the ImageData even after doc_images are updated in between Webref annotation runs. Use docid only when canonical_docid == 0. -
docid
(type:String.t
, default:nil
) - -
imageIndex
(type:integer()
, default:nil
) - WARNING: The doc_images in docjoins are subject to updates including non-deterministic reordering of doc_images and their image_nb_data extensions. This means that without re-running WebrefAnnotator one cannot rely on the accuracy or even consistency of either image_index or query_index when parsing a cdoc from docjoins. In those situations one ought to rely on canonical_docid (or docid when canonical_docid is absent viz. 0). The index of the source image in CompositeDoc::doc_images. -
queryIndex
(type:GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefQueryIndices.t
, default:nil
) - Queries index in ImageData::image_data_navboost.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefImageQueryIndices{ canonicalDocid: String.t() | nil, docid: String.t() | nil, imageIndex: integer() | nil, queryIndex: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefQueryIndices.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.