MagnitudeScoringParameters interface

Provides parameter values to a magnitude scoring function.

Properties

boostingRangeEnd

The field value at which boosting ends.

boostingRangeStart

The field value at which boosting starts.

shouldBoostBeyondRangeByConstant

A value indicating whether to apply a constant boost for field values beyond the range end value; default is false.

Property Details

boostingRangeEnd

The field value at which boosting ends.

boostingRangeEnd: number

Property Value

number

boostingRangeStart

The field value at which boosting starts.

boostingRangeStart: number

Property Value

number

shouldBoostBeyondRangeByConstant

A value indicating whether to apply a constant boost for field values beyond the range end value; default is false.

shouldBoostBeyondRangeByConstant?: boolean

Property Value

boolean