You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation, I should be able to pass a random_score to a function_score. However, the TypeScript type appears to be wrong, not allowing this property.
Note that I'm using this package for the typings only.
Duplicate of elastic/elasticsearch-specification#2109, but I'll keep it open here so you get notified when that gets fixed. It's been sitting for a bit, but hopefully I can circle back to it soon. 🙃
🐛 Bug Report
According to the documentation, I should be able to pass a
random_score
to afunction_score
. However, the TypeScript type appears to be wrong, not allowing this property.Note that I'm using this package for the typings only.
To Reproduce
The following code
Results in this error
Playground
Expected behavior
No error.
Your Environment
@elastic/elasticsearch
version: >=8.12.2The text was updated successfully, but these errors were encountered: