[doc] update set and append processor doc examples

This commit is contained in:
Tal Levy 2016-01-05 11:45:52 -08:00
parent 15ecf76d54
commit 11d4417251
1 changed files with 4 additions and 2 deletions

View File

@ -38,7 +38,8 @@ its value will be replaced with the provided one.
-------------------------------------------------- --------------------------------------------------
{ {
"set": { "set": {
"field1": 582.1 "field": "field1",
"value": 582.1
} }
} }
-------------------------------------------------- --------------------------------------------------
@ -53,7 +54,8 @@ Accepts a single value or an array of values.
-------------------------------------------------- --------------------------------------------------
{ {
"append": { "append": {
"field1": ["item2", "item3", "item4"] "field": "field1"
"value": ["item2", "item3", "item4"]
} }
} }
-------------------------------------------------- --------------------------------------------------