Skip to content

Commit

Permalink
Simplify the kNN search REST test
Browse files Browse the repository at this point in the history
In #80516 simplified the mapping, but forgot to remove the nested parts of the
documents.
  • Loading branch information
jtibshirani committed Nov 10, 2021
1 parent 949cfb1 commit 94e4870
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ setup:
body:
name: cow.jpg
vector: [230.0, 300.33, -34.8988, 15.555, -200.0]
comments:
- body: "free the cows"
vector: [0.75, 100.0, 0.33, 16.2, -10.2]

- do:
index:
Expand All @@ -32,9 +29,6 @@ setup:
body:
name: moose.jpg
vector: [-0.5, 100.0, -13, 14.8, -156.0]
comments:
- body: "what a great moose"
vector: [11.4, 99.0, 1.55, -2.9, -10.2]

- do:
index:
Expand Down

0 comments on commit 94e4870

Please sign in to comment.