Skip to content

Commit 5716501

Browse files
committed
Added cluster feature to yaml
1 parent 36cd91e commit 5716501

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

x-pack/plugin/rank-rrf/src/yamlRestTest/resources/rest-api-spec/test/linear/10_linear_retriever.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,9 @@ setup:
266266

267267
---
268268
"should normalize initial scores with l2_norm":
269+
- requires:
270+
cluster_features: [ "linear_retriever.l2_norm" ]
271+
reason: "Requires l2_norm normalization support in linear retriever"
269272
- do:
270273
search:
271274
index: test
@@ -320,6 +323,9 @@ setup:
320323

321324
---
322325
"should handle all zero scores in normalization":
326+
- requires:
327+
cluster_features: [ "linear_retriever.l2_norm" ]
328+
reason: "Requires l2_norm normalization support in linear retriever"
323329
- do:
324330
search:
325331
index: test

0 commit comments

Comments
 (0)