parent
c457499cb2
commit
8cba6509e4
|
@ -1,8 +1,5 @@
|
|||
---
|
||||
setup:
|
||||
- skip:
|
||||
version: "0 - 100"
|
||||
reason: Java returns floating point, but JSON returns integer
|
||||
- do:
|
||||
indices.create:
|
||||
index: test123
|
||||
|
@ -26,5 +23,5 @@ setup:
|
|||
"Expressions scripting test":
|
||||
|
||||
- do: { search: { body: { script_fields : { my_field : { lang: expression, script: 'doc["age"].value' } } } } }
|
||||
- match: { hits.hits.0.fields.my_field: [ 23 ] }
|
||||
- match: { hits.hits.0.fields.my_field.0: 23.0 }
|
||||
|
||||
|
|
Loading…
Reference in New Issue