Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MagnitudeScoringFunction

Package version

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

Hierarchy

  • MagnitudeScoringFunction

Index

Properties

boost

boost: number

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

fieldName

fieldName: string

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

Optional interpolation

A value indicating how boosting will be interpolated across document scores; defaults to "Linear". Possible values include: 'linear', 'constant', 'quadratic', 'logarithmic'

parameters

Parameter values for the magnitude scoring function.

type

type: "magnitude"

Polymorphic Discriminator

Generated using TypeDoc