Skip to content

Commit 01c213a

Browse files
remove comments
1 parent 033a88a commit 01c213a

File tree

1 file changed

+2
-2
lines changed
  • rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors

1 file changed

+2
-2
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/search.vectors/40_knn_search.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ setup:
285285
---
286286
"Nonexistent field returns empty query":
287287
- requires:
288-
cluster_features: "gte_v8.16.0" // what will happen if we go to 9.0 from 8.15
288+
cluster_features: "gte_v8.16.0"
289289
reason: 'allow unmapped field is true'
290290
- do:
291291
search:
@@ -316,7 +316,7 @@ setup:
316316
query_vector: [ -0.5, 90.0, -10, 14.8, -156.0 ]
317317
k: 2
318318
num_candidates: 3
319-
- match: { error.root_cause.0.type: "query_shard_exception" } // how does it have query shard exception where as the unit test had IllegalArgumentException
319+
- match: { error.root_cause.0.type: "query_shard_exception" }
320320
- match: { error.root_cause.0.reason: "failed to create query: field [nonexistent] does not exist in the mapping" }
321321

322322
---

0 commit comments

Comments
 (0)