Remove Processoredit

Removes existing fields. If one field doesn’t exist, an exception will be thrown.

Table 45. Remove Options

Name Required Default Description

field

yes

-

Fields to be removed

ignore_missing

no

false

If true and field does not exist or is null, the processor quietly exits without modifying the document


Here is an example to remove a single field:

{
  "remove": {
    "field": "foo"
  }
}

To remove multiple fields, you can use the following query:

{
  "remove": {
    "field": ["foo", "bar"]
  }
}