BiasingPerDocDataBiasingField

GoogleApi.ContentWarehouse.V1.Model.BiasingPerDocDataBiasingField


Table of Contents ▼

Jump to a specific part of the page:

Description

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

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

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

Type

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

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.BiasingPerDocDataBiasingField