View Source GoogleApi.ContentWarehouse.V1.Model.BiasingPerDocDataBiasingField (google_api_content_warehouse v0.4.0)

Metadata fields on which we can bias (sort) search results independently from the normal ranking using a ScoreAdjuster

Attributes

  • Name (type: String.t, default: nil) - Fingerprint of the attribute name (no need to keep long field names)
  • Value (type: float(), default: nil) - Biasing value translated into a double for uniform comparison

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.BiasingPerDocDataBiasingField{
  Name: String.t() | nil,
  Value: float() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.