Browse Source

Wrong name for values field

We wrote that the document is:

```json
{
  "value" : ["foo", "bar", "baz"]
}
```

But the processor is using a `values` field:

```json
{
  "foreach" : {
    "field" : "values",
    "processors" : [
      // ...
    ]
  }
}
```

It should be `values`.
David Pilato 9 years ago
parent
commit
cb8073e990
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/ingest/ingest-node.asciidoc

+ 2 - 2
docs/reference/ingest/ingest-node.asciidoc

@@ -882,7 +882,7 @@ Assume the following document:
 [source,js]
 --------------------------------------------------
 {
-  "value" : ["foo", "bar", "baz"]
+  "values" : ["foo", "bar", "baz"]
 }
 --------------------------------------------------
 
@@ -909,7 +909,7 @@ Then the document will look like this after preprocessing:
 [source,js]
 --------------------------------------------------
 {
-  "value" : ["FOO", "BAR", "BAZ"]
+  "values" : ["FOO", "BAR", "BAZ"]
 }
 --------------------------------------------------