Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TagScoringFunction

Package version

Defines a function that boosts scores of documents with string values matching a given list of tags.

Hierarchy

  • TagScoringFunction

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 tag scoring function.

type

type: "tag"

Polymorphic Discriminator

Generated using TypeDoc