diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/10_keyword.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/10_keyword.yml index 94df6f4996b08..840a0906dc1db 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/10_keyword.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/10_keyword.yml @@ -166,7 +166,7 @@ setup: term: day_of_week: Monday - match: {hits.hits.0._explanation.value: 1.0} - - match: {hits.hits.0._explanation.description: day_of_week:Monday} + - match: {hits.hits.0._explanation.description: "day_of_week:Monday"} - match: {hits.hits.0._explanation.details.0.value: 1.0} - match: {hits.hits.0._explanation.details.0.description: 'boost * runtime_field_score'} - match: {hits.hits.0._explanation.details.0.details.0.value: 1.0} @@ -187,7 +187,7 @@ setup: value: Monday boost: 7 - match: {hits.hits.0._explanation.value: 7.0} - - match: {hits.hits.0._explanation.description: day_of_week:Monday^7.0} + - match: {hits.hits.0._explanation.description: "day_of_week:Monday^7.0"} - match: {hits.hits.0._explanation.details.0.value: 7.0} - match: {hits.hits.0._explanation.details.0.description: 'boost * runtime_field_score'} - match: {hits.hits.0._explanation.details.0.details.0.value: 7.0} @@ -216,7 +216,7 @@ setup: - match: {hits.hits.0._explanation.details.0.value: 7.0} - match: {hits.hits.0._explanation.details.0.description: '_score: '} - match: {hits.hits.0._explanation.details.0.details.0.value: 7.0} - - match: {hits.hits.0._explanation.details.0.details.0.description: day_of_week:Monday^7.0} + - match: {hits.hits.0._explanation.details.0.details.0.description: "day_of_week:Monday^7.0"} - match: {hits.hits.0._explanation.details.0.details.0.details.0.value: 7.0} - match: {hits.hits.0._explanation.details.0.details.0.details.0.description: 'boost * runtime_field_score'} - match: {hits.hits.0._explanation.details.0.details.0.details.0.details.0.value: 7.0} diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/30_double.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/30_double.yml index db43647dc627a..5ac9b7cb867a8 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/30_double.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/30_double.yml @@ -206,7 +206,7 @@ setup: term: voltage_percent: 1.0 - match: {hits.hits.0._explanation.value: 1.0} - - match: {hits.hits.0._explanation.description: voltage_percent:1.0} + - match: {hits.hits.0._explanation.description: "voltage_percent:1.0"} - match: {hits.hits.0._explanation.details.0.value: 1.0} - match: {hits.hits.0._explanation.details.0.description: 'boost * runtime_field_score'} - match: {hits.hits.0._explanation.details.0.details.0.value: 1.0} diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/40_date.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/40_date.yml index 3bf967992597e..355b12f5db265 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/40_date.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/40_date.yml @@ -195,7 +195,7 @@ setup: term: tomorrow: 2018-01-19T17:41:34Z - match: {hits.hits.0._explanation.value: 1.0} - - match: {hits.hits.0._explanation.description: tomorrow:1516383694000} + - match: {hits.hits.0._explanation.description: "tomorrow:1516383694000"} - match: {hits.hits.0._explanation.details.0.value: 1.0} - match: {hits.hits.0._explanation.details.0.description: 'boost * runtime_field_score'} - match: {hits.hits.0._explanation.details.0.details.0.value: 1.0} diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/50_ip.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/50_ip.yml index fdbad9e2241c9..1208615b5515e 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/50_ip.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/50_ip.yml @@ -171,7 +171,7 @@ setup: term: ip: 252.0.0.0 - match: {hits.hits.0._explanation.value: 1.0} - - match: {hits.hits.0._explanation.description: ip:252.0.0.0} + - match: {hits.hits.0._explanation.description: "ip:252.0.0.0"} - match: {hits.hits.0._explanation.details.0.value: 1.0} - match: {hits.hits.0._explanation.details.0.description: 'boost * runtime_field_score'} - match: {hits.hits.0._explanation.details.0.details.0.value: 1.0} diff --git a/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/60_boolean.yml b/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/60_boolean.yml index c14fe7084a851..0984bc97f0428 100644 --- a/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/60_boolean.yml +++ b/x-pack/plugin/src/test/resources/rest-api-spec/test/runtime_fields/60_boolean.yml @@ -147,7 +147,7 @@ setup: term: over_v: true - match: {hits.hits.0._explanation.value: 1.0} - - match: {hits.hits.0._explanation.description: over_v:true} + - match: {hits.hits.0._explanation.description: "over_v:true"} - match: {hits.hits.0._explanation.details.0.value: 1.0} - match: {hits.hits.0._explanation.details.0.description: 'boost * runtime_field_score'} - match: {hits.hits.0._explanation.details.0.details.0.value: 1.0}