Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TextWeights

Package version

Defines weights on index fields for which matches should boost scoring in search queries.

Hierarchy

  • TextWeights

Index

Properties

Properties

weights

weights: {}

The dictionary of per-field weights to boost document scoring. The keys are field names and the values are the weights for each field.

Type declaration

  • [propertyName: string]: number

Generated using TypeDoc