为 Open Distro 安装插件
install plugin for Open Distro
Amazon Elasticsearch Service 提供 k 最近邻 (k-NN) 搜索,可以通过相似用例增强搜索。
我尝试了我在这里找到的官方代码...
https://github.com/opendistro-for-elasticsearch/k-NN
PUT /myindex
{
"settings" : {
"index": {
"knn": true
}
},
"mappings": {
"properties": {
"my_vector1": {
"type": "knn_vector",
"dimension": 2
},
"my_vector2": {
"type": "knn_vector",
"dimension": 4
},
"my_vector3": {
"type": "knn_vector",
"dimension": 8
}
}
}
}
出现此错误:
"unknown setting [index.knn] please check that any required plugins
are installed, or check the breaking changes documentation for removed
settings"
如何检查我的 Elastic 安装是否支持此功能?
不支持 t2.small 和 t2.medium 实例类型。 (文档中的任何地方都没有提到它。)它在选择 r5.large 实例类型时按预期工作。
Amazon Elasticsearch Service 提供 k 最近邻 (k-NN) 搜索,可以通过相似用例增强搜索。
我尝试了我在这里找到的官方代码...
https://github.com/opendistro-for-elasticsearch/k-NN
PUT /myindex
{
"settings" : {
"index": {
"knn": true
}
},
"mappings": {
"properties": {
"my_vector1": {
"type": "knn_vector",
"dimension": 2
},
"my_vector2": {
"type": "knn_vector",
"dimension": 4
},
"my_vector3": {
"type": "knn_vector",
"dimension": 8
}
}
}
}
出现此错误:
"unknown setting [index.knn] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"
如何检查我的 Elastic 安装是否支持此功能?
t2.small 和 t2.medium 实例类型。 (文档中的任何地方都没有提到它。)它在选择 r5.large 实例类型时按预期工作。