BaseScoringFunction interface

Contains the possible cases for ScoringFunction.

Properties

boost

A positive multiplier for a classic scoring function.

fieldName

The field used as input to a classic scoring function.

interpolation

Boost interpolation strategy.

type

The classic scoring function kind.

Property Details

boost

A positive multiplier for a classic scoring function.

boost: number

Property Value

number

fieldName

The field used as input to a classic scoring function.

fieldName: string

Property Value

string

interpolation

Boost interpolation strategy.

interpolation?: ScoringFunctionInterpolation

Property Value

type

The classic scoring function kind.

type: string

Property Value

string