Share via


FreshnessScoringParameters Class

Definition

Provides parameter values to a freshness scoring function.

public class FreshnessScoringParameters
public class FreshnessScoringParameters : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.FreshnessScoringParameters>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.FreshnessScoringParameters>
type FreshnessScoringParameters = class
type FreshnessScoringParameters = class
    interface IJsonModel<FreshnessScoringParameters>
    interface IPersistableModel<FreshnessScoringParameters>
Public Class FreshnessScoringParameters
Public Class FreshnessScoringParameters
Implements IJsonModel(Of FreshnessScoringParameters), IPersistableModel(Of FreshnessScoringParameters)
Inheritance
FreshnessScoringParameters
Implements

Constructors

FreshnessScoringParameters(TimeSpan)

Initializes a new instance of FreshnessScoringParameters.

Properties

BoostingDuration

The expiration period after which boosting will stop for a particular document.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<FreshnessScoringParameters>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<FreshnessScoringParameters>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<FreshnessScoringParameters>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<FreshnessScoringParameters>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<FreshnessScoringParameters>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to