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
Most type definitions in this repo are automatically generated using the specification Elastic maintains in the elastic/elasticsearch-specificaton repo. I'll see if the issue can be resolved there first, so that all clients can benefit from the improvement.
In the meantime, as with any build-time TypeScript error, you can always use ignore instructions to skip over typing bugs that you know will not result in errors at runtime.
🐛 Bug Report
According to the documentation the KnnQuery interface must contain optional property
similarity
(typefloat
).Because of the missing
similarity
property onKnnQuery
interface it is inconvenient to use.search
API:Additionally to that
k
andnum_candidates
properties should have type ofinteger
.Expected behavior
The text was updated successfully, but these errors were encountered: