IndexingConverterRawRedirectInfo

AI Overview😉

  • The potential purpose of this module is to track and analyze redirects on a webpage, including the final redirect target, redirect chain, and the number of redirect hops. This helps Google's algorithm understand how a webpage is structured and how it should be indexed.
  • This module could impact search results by influencing how Google's algorithm determines the canonical URL of a webpage, which in turn affects how the page is ranked and displayed in search results. It may also affect how Google handles mobile-specific content and Ajax-based websites.
  • A website may change things to be more favorable for this function by ensuring that their redirects are clean and properly formatted, using canonical URLs to specify the preferred version of a page, and optimizing their mobile-specific content to be easily crawlable and indexable by Google's algorithm.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.IndexingConverterRawRedirectInfo (google_api_content_warehouse v0.4.0)

The proto to be stored in raw_redirect_info column of document table.

Attributes

  • rawFinalTargetFromRendering (type: String.t, default: nil) - Final redirect target found from rendering. It is the same as the last element of raw_redirect_chain_from_rendering. It is used as an input source for the indexable fragment detection pipeline and also downstream phases.
  • rawFinalTargetFromTrawler (type: String.t, default: nil) - This is with-fragment version of redirect_with_contents. This field is populated only if there was a fragment. This field is used by indexing::mobile::GetRedirectTarget() defined in indexing/mobile/internal/smartphone-util.cc, which extracts the redirect target for smartphone optimized pages. The extracted target in turn is served in search results for smartphone users. We need with-fragment version because with-fragment url can return different content than fragment-stripped url. For example, http://www.example.com/m#article=11 and http://www.example.com/m can return different content. These cases are most typical for Ajaxy sites. This fragment does not have to be indexable.
  • rawRedirectChainFromRendering (type: GoogleApi.ContentWarehouse.V1.Model.IndexingConverterRedirectChain.t, default: nil) - Redirect chain generated from redirect events in rendering. At the beginning of it, there could be some redirects from trawler (i.e. could be partial or entire trawler redirect chain), other redirects have their RedirectParams::is_redirect_from_rendering fields set to true. Redirects here have no RedirectChain::Hop::raw_target fields populated, and targets stored in RedirectChain::Hop::target fields are likely cleaned while keeping fragments (also sometimes they could be uncleaned ones because of cleaning failures), fragments could be indexable or non-indexable.
  • renderingRedirectLimit (type: integer(), default: nil) - This is used to describe how many redirect hops from Webkit were kept in the raw_redirect_chain_from_rendering. If it is -1, it means it kept all the hops from Webkit in redirect chain.

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.IndexingConverterRawRedirectInfo{
  rawFinalTargetFromRendering: String.t() | nil,
  rawFinalTargetFromTrawler: String.t() | nil,
  rawRedirectChainFromRendering:
    GoogleApi.ContentWarehouse.V1.Model.IndexingConverterRedirectChain.t() | nil,
  renderingRedirectLimit: integer() | nil
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.