TextWeights interface

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

Properties

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.

Property Details

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.

weights: {[propertyName: string]: number}

Property Value

{[propertyName: string]: number}