mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 09:28:27 +00:00
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…
x
Reference in New Issue
Block a user