You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/src/test/resources/rest-api-spec/test/vectors/10_dense_vector_basic.yml
+1-24
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
setup:
2
2
- skip:
3
-
features: [headers, warnings]
3
+
features: headers
4
4
version: " - 7.2.99"
5
5
reason: "dense_vector functions were added from 7.3"
6
6
@@ -99,26 +99,3 @@ setup:
99
99
- match: {hits.hits.2._id: "1"}
100
100
- gte: {hits.hits.2._score: 0.78}
101
101
- lte: {hits.hits.2._score: 0.791}
102
-
103
-
---
104
-
"Deprecated function signature":
105
-
- do:
106
-
headers:
107
-
Content-Type: application/json
108
-
warnings:
109
-
- The vector functions of the form function(query, doc['field']) are deprecated, and the form function(query, 'field') should be used instead. For example, cosineSimilarity(query, doc['field']) is replaced by cosineSimilarity(query, 'field').
Copy file name to clipboardExpand all lines: x-pack/plugin/src/test/resources/rest-api-spec/test/vectors/30_sparse_vector_basic.yml
-24
Original file line number
Diff line number
Diff line change
@@ -104,27 +104,3 @@ setup:
104
104
- match: {hits.hits.2._id: "1"}
105
105
- gte: {hits.hits.2._score: 0.78}
106
106
- lte: {hits.hits.2._score: 0.791}
107
-
108
-
---
109
-
"Deprecated function signature":
110
-
- do:
111
-
headers:
112
-
Content-Type: application/json
113
-
warnings:
114
-
- The [sparse_vector] field type is deprecated and will be removed in 8.0.
115
-
- The vector functions of the form function(query, doc['field']) are deprecated, and the form function(query, 'field') should be used instead. For example, cosineSimilarity(query, doc['field']) is replaced by cosineSimilarity(query, 'field').
0 commit comments