install plugin for Open Distro

0

Amazon Elasticsearch Service offers k-Nearest Neighbor (k-NN) search which can enhance search by similarity use cases.

https://aws.amazon.com/about-aws/whats-new/2020/03/build-k-nearest-neighbor-similarity-search-engine-with-amazon-elasticsearch-service/

I tried this official code that I found here...

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
            } 
        }
    }
}

Getting this error:

"unknown setting [index.knn] please check that any required plugins are installed, or check the breaking changes documentation for removed settings"

How do I check if my Elastic installation supports this feature?

gefragt vor 4 Jahren423 Aufrufe
1 Antwort
0

Only high end servers support machine learning feature.

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen