File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -3278,6 +3278,8 @@ private void assertEmptyEsRelation(LogicalPlan plan) {
32783278 }
32793279
32803280 public void testResolveRerankInferenceId () {
3281+ assumeTrue ("Requires RERANK command" , EsqlCapabilities .Cap .RERANK .isEnabled ());
3282+
32813283 {
32823284 LogicalPlan plan = analyze (
32833285 " FROM books METADATA _score | RERANK \" italian food recipe\" ON title WITH \" reranking-inference-id\" " ,
@@ -3411,6 +3413,7 @@ public void testResolveRerankFields() {
34113413 }
34123414
34133415 public void testRerankRequiresScore () {
3416+ assumeTrue ("Requires RERANK command" , EsqlCapabilities .Cap .RERANK .isEnabled ());
34143417
34153418 VerificationException ve = expectThrows (
34163419 VerificationException .class ,
You can’t perform that action at this time.
0 commit comments