Skip to content

Commit

Permalink
Fix k-NN search json to have correct query
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Bogan <[email protected]>
  • Loading branch information
ryanbogan committed Sep 24, 2024
1 parent 55aeb08 commit 2d7b027
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _search-plugins/knn/disk-based-vector-search.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ GET my-vector-index/_search
"my_vector_field": {
"vector": [1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5],
"k": 5,
"method_params": {
"method_parameters": {
"ef_search": 512
},
"rescore": {
Expand Down
2 changes: 1 addition & 1 deletion _search-plugins/knn/knn-vector-quantization.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ GET my-vector-index/_search
"my_vector_field": {
"vector": [1.5, 5.5, 1.5, 5.5, 1.5, 5.5, 1.5, 5.5],
"k": 10,
"method_params": {
"method_parameters": {
"ef_search": 10
},
"rescore": {
Expand Down

0 comments on commit 2d7b027

Please sign in to comment.