BaseScoringFunction interface
包含 ScoringFunction 的可能案例。
属性
| boost | 经典计分函数的正乘数。 |
| field |
作为经典评分函数输入的字段。 |
| interpolation | 提升插值策略。 |
| type | 经典的评分功能类型。 |
属性详细信息
boost
经典计分函数的正乘数。
boost: number
属性值
number
fieldName
作为经典评分函数输入的字段。
fieldName: string
属性值
string
interpolation
type
经典的评分功能类型。
type: string
属性值
string