Megosztás a következőn keresztül:


MagnitudeScoringFunction Class

Definition

Defines a function that boosts scores based on the magnitude of a numeric field.

public class MagnitudeScoringFunction : Azure.Search.Documents.Indexes.Models.ScoringFunction
type MagnitudeScoringFunction = class
    inherit ScoringFunction
Public Class MagnitudeScoringFunction
Inherits ScoringFunction
Inheritance
MagnitudeScoringFunction

Constructors

MagnitudeScoringFunction(String, Double, MagnitudeScoringParameters)

Initializes a new instance of MagnitudeScoringFunction.

Properties

Boost

A multiplier for the raw score. Must be a positive number not equal to 1.0.

(Inherited from ScoringFunction)
FieldName

The name of the field used as input to the scoring function.

(Inherited from ScoringFunction)
Interpolation

A value indicating how boosting will be interpolated across document scores; defaults to "Linear".

(Inherited from ScoringFunction)
Parameters

Parameter values for the magnitude scoring function.

Applies to