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
Currently, you have support for dense_vectortype for supporting the KNN search. This works fine with elastic search but for OpenSearch, it uses knn_vectortype.
I cannot find a way to use OpenSearch knn_vector type using this. The main reason is that in Opensearch, it's a plugin, and since it's a plugin, it requires special settings, something like the below, and currently your IndexSettings class has no such support.
"settings": {
"index": {
"knn": true
}
}
Why is this needed?
This is needed to make use of KNN search plugin using OpenSearch.
How do you think it should be done?
The easiest way would be to add a field in the IndexSettings class for KNN plugin-related information.
Another option for supporting other such plugins related settings is to make the IndexSettings class open so that people can extend it and provide whatever settings are needed.
Will you be able to help with a pull request?
Sure
Optional, but do let me know if you plan to do work.
Yes
The text was updated successfully, but these errors were encountered:
Describe the enhancement
Currently, you have support for
dense_vector
type for supporting the KNN search. This works fine with elastic search but for OpenSearch, it usesknn_vector
type.I cannot find a way to use OpenSearch
knn_vector
type using this. The main reason is that in Opensearch, it's a plugin, and since it's a plugin, it requires specialsettings
, something like the below, and currently yourIndexSettings
class has no such support.Why is this needed?
This is needed to make use of KNN search plugin using OpenSearch.
How do you think it should be done?
The easiest way would be to add a field in the
IndexSettings
class forKNN
plugin-related information.Another option for supporting other such plugins related settings is to make the
IndexSettings
class open so that people can extend it and provide whatever settings are needed.Will you be able to help with a pull request?
Sure
Optional, but do let me know if you plan to do work.
Yes
The text was updated successfully, but these errors were encountered: