We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b141ea3 commit 3432f0bCopy full SHA for 3432f0b
rest-api-spec/test/script/30_expressions.yaml
@@ -1,8 +1,5 @@
1
---
2
setup:
3
- - skip:
4
- version: "0 - 100"
5
- reason: Java returns floating point, but JSON returns integer
6
- do:
7
indices.create:
8
index: test123
@@ -26,5 +23,5 @@ setup:
26
23
"Expressions scripting test":
27
24
28
25
- do: { search: { body: { script_fields : { my_field : { lang: expression, script: 'doc["age"].value' } } } } }
29
- - match: { hits.hits.0.fields.my_field: [ 23 ] }
+ - match: { hits.hits.0.fields.my_field.0: 23.0 }
30
0 commit comments