RepositoryWebrefImageQueryIndices

AI Overview😉

  • Potential purpose of module: This module, `RepositoryWebrefImageQueryIndices`, appears to be responsible for indexing and storing information about images within a document, specifically in the context of Google's Webref annotation system. It helps to identify and keep track of images, their corresponding queries, and their indices within a document.
  • Impact on search results: This module could impact search results by influencing the ranking and relevance of images within search results. By accurately indexing and storing image information, Google can better understand the content of a document and provide more relevant image results to users. This could lead to more accurate and relevant image search results, especially when users search for specific images or topics.
  • Optimization for this function: To be more favorable for this function, a website could ensure that their images are properly tagged, described, and structured within their documents. This could include using descriptive alt tags, providing accurate image metadata, and organizing images in a logical and consistent manner. Additionally, ensuring that images are easily crawlable and indexable by search engines could also improve the effectiveness of this module.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@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

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.