SearchModelFactory.MagnitudeScoringParameters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides parameter values to a magnitude scoring function.
public static Azure.Search.Documents.Indexes.Models.MagnitudeScoringParameters MagnitudeScoringParameters(double boostingRangeStart = 0, double boostingRangeEnd = 0, bool? shouldBoostBeyondRangeByConstant = default);
static member MagnitudeScoringParameters : double * double * Nullable<bool> -> Azure.Search.Documents.Indexes.Models.MagnitudeScoringParameters
Public Shared Function MagnitudeScoringParameters (Optional boostingRangeStart As Double = 0, Optional boostingRangeEnd As Double = 0, Optional shouldBoostBeyondRangeByConstant As Nullable(Of Boolean) = Nothing) As MagnitudeScoringParameters
Parameters
- boostingRangeStart
- Double
The field value at which boosting starts.
- boostingRangeEnd
- Double
The field value at which boosting ends.
A value indicating whether to apply a constant boost for field values beyond the range end value; default is false.
Returns
A new MagnitudeScoringParameters instance for mocking.