Partager via


ScoringFunctionInterpolation Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.search.documents.indexes.models.ScoringFunctionInterpolation

public enum ScoringFunctionInterpolation
extends Enum<ScoringFunctionInterpolation>

Defines the function used to interpolate score boosting across a range of documents.

Fields

CONSTANT

Boosts scores by a constant factor.

LINEAR

Boosts scores by a linearly decreasing amount.

LOGARITHMIC

Boosts scores by an amount that decreases logarithmically.

QUADRATIC

Boosts scores by an amount that decreases quadratically.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static ScoringFunctionInterpolation fromString(String value)

Parses a serialized value to a ScoringFunctionInterpolation instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed ScoringFunctionInterpolation object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static ScoringFunctionInterpolation valueOf(String name)

Parameters

name
String

Returns

values()

public static ScoringFunctionInterpolation[] values()

Returns

Applies to