Skip to content

Commit

Permalink
Add include_source_on_error for bulk, create, index, update
Browse files Browse the repository at this point in the history
  • Loading branch information
mosche committed Jan 31, 2025
1 parent 94e5ff9 commit a9e50ee
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
4 changes: 4 additions & 0 deletions specification/_json_spec/bulk.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@
"list_executed_pipelines": {
"type": "boolean",
"description": "Sets list_executed_pipelines for all incoming documents. Defaults to unset (false)"
},
"include_source_on_error": {
"type": "boolean",
"description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true."
}
},
"body": {
Expand Down
4 changes: 4 additions & 0 deletions specification/_json_spec/create.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@
"pipeline": {
"type": "string",
"description": "The pipeline id to preprocess incoming documents with"
},
"include_source_on_error": {
"type": "boolean",
"description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true."
}
},
"body": {
Expand Down
4 changes: 4 additions & 0 deletions specification/_json_spec/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@
"require_data_stream": {
"type": "boolean",
"description": "When true, requires the destination to be a data stream (existing or to-be-created). Default is false"
},
"include_source_on_error": {
"type": "boolean",
"description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true."
}
},
"body": {
Expand Down
4 changes: 4 additions & 0 deletions specification/_json_spec/update.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
"require_alias": {
"type": "boolean",
"description": "When true, requires destination is an alias. Default is false"
},
"include_source_on_error": {
"type": "boolean",
"description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true."
}
},
"body": {
Expand Down

0 comments on commit a9e50ee

Please sign in to comment.