-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] dense_vector instead of knn_vector #437
Comments
good catch. Feel free to PR a fix. |
Bumping this for visibility - got the same exact issue today |
I am going to start working on this issue now. Should I also remove the dense vector property and therefore introduce some incompatibility with ES or just add the knn_vector property and index settings? All property files are prefixed with |
this worked well for us in the new version of the lib, thank you very much |
What is the bug?
The index builder has the dense_vector property (https://www.javadoc.io/doc/org.opensearch.client/opensearch-java/latest/org/opensearch/client/opensearch/_types/mapping/DenseVectorProperty.html), but dense_vector doesn't actually exists on OpenSearch, only on ES, if I try to use it, I get a 400.
On OpenSearch, it should actually be knn_vector, as it was decided on this RFC (opensearch-project/OpenSearch#3545), but this option is not available
How can one reproduce the bug?
Kotlin code:
What is the expected behavior?
To have a knn option available, or that the denseVector one just works
What is your host/environment?
AWS
The text was updated successfully, but these errors were encountered: