RandomScoringFunction interface
Assigns pseudo-random scores without a field or boost, replacing text and vector scores. The profile must contain only this function and cannot specify text weights.
Properties
| interpolation | Optional interpolation configuration. |
| parameters | Optional seeded scoring configuration. |
| type | Selects pseudo-random scoring. |
Property Details
interpolation
Optional interpolation configuration.
interpolation?: ScoringFunctionInterpolation
Property Value
parameters
Optional seeded scoring configuration.
parameters?: RandomScoringParameters
Property Value
type
Selects pseudo-random scoring.
type: "random"
Property Value
"random"