From 10d0c8efbdc759c2c00b323c73aa70c32dc4b8de Mon Sep 17 00:00:00 2001 From: keithhc2 Date: Mon, 14 Mar 2022 13:42:56 -0700 Subject: [PATCH] Fixed endpoint Signed-off-by: keithhc2 --- _search-plugins/knn/approximate-knn.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_search-plugins/knn/approximate-knn.md b/_search-plugins/knn/approximate-knn.md index c6d5c9d3..776586d2 100644 --- a/_search-plugins/knn/approximate-knn.md +++ b/_search-plugins/knn/approximate-knn.md @@ -168,7 +168,7 @@ POST _bulk After indexing into the training index completes, we can call the Train API: ```json -POST /_plugins/_knn/models/_train/my-model +POST /_plugins/_knn/models/my-model/_train { "training_index": "train-index", "training_field": "train-field",