From 275c93464c8edefdc4b21b63aea92642a1b626c1 Mon Sep 17 00:00:00 2001 From: Aurelien FOUCRET Date: Tue, 21 Nov 2023 11:40:23 +0100 Subject: [PATCH] Fix bad JSON in javaRestTest. --- .../xpack/ml/integration/MlRescorerIT.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/x-pack/plugin/ml/qa/basic-multi-node/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/MlRescorerIT.java b/x-pack/plugin/ml/qa/basic-multi-node/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/MlRescorerIT.java index 7aa45c0ab534a..6dbb0a46121aa 100644 --- a/x-pack/plugin/ml/qa/basic-multi-node/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/MlRescorerIT.java +++ b/x-pack/plugin/ml/qa/basic-multi-node/src/javaRestTest/java/org/elasticsearch/xpack/ml/integration/MlRescorerIT.java @@ -237,11 +237,12 @@ public void testLtrSimpleDFS() throws Exception { searchResponse = searchDfs(""" { - "rescore": { - "window_size": 10, - "learn_to_rank": { - "model_id": "basic-ltr-model", - "params": { "keyword": "TV" } + "rescore": { + "window_size": 10, + "learn_to_rank": { + "model_id": "basic-ltr-model", + "params": { "keyword": "TV" } + } } }""");