mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 09:28:27 +00:00
Testing: Remove plus sign from YAML test due to encoding issue
The plus sign is not treated correctly in encoding and can lead to problems, if the search request is encoded as HTTP parameter instead of the HTTP body. Relates #9769
This commit is contained in:
parent
50a56b6c9d
commit
5de564a19f
@ -11,5 +11,5 @@
|
||||
- do:
|
||||
indices.refresh: {}
|
||||
|
||||
- do: { search: { body: { script_fields : { my_field : { lang: expression, script: 'doc["age"].value + 19' } } } } }
|
||||
- match: { hits.hits.0.fields.my_field: [ 42.0 ] }
|
||||
- do: { search: { body: { script_fields : { my_field : { lang: expression, script: 'doc["age"].value' } } } } }
|
||||
- match: { hits.hits.0.fields.my_field: [ 23.0 ] }
|
||||
|
Loading…
x
Reference in New Issue
Block a user