mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-28 10:58:30 +00:00
parent
c457499cb2
commit
8cba6509e4
@ -1,8 +1,5 @@
|
|||||||
---
|
---
|
||||||
setup:
|
setup:
|
||||||
- skip:
|
|
||||||
version: "0 - 100"
|
|
||||||
reason: Java returns floating point, but JSON returns integer
|
|
||||||
- do:
|
- do:
|
||||||
indices.create:
|
indices.create:
|
||||||
index: test123
|
index: test123
|
||||||
@ -26,5 +23,5 @@ setup:
|
|||||||
"Expressions scripting test":
|
"Expressions scripting test":
|
||||||
|
|
||||||
- do: { search: { body: { script_fields : { my_field : { lang: expression, script: 'doc["age"].value' } } } } }
|
- 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