Skip to content

Conversation

@mosche
Copy link
Contributor

@mosche mosche commented Jan 28, 2025

A new query parameter ?include_source_on_error was added for create / index, update and bulk REST APIs to control if to include the document source in the error response in case of parsing errors. The default value is true.

Backport of #120725
Relates to ES-9186.

…lastic#120725)

A new query parameter `?include_source_on_error` was added for create / index,
update and bulk REST APIs to control if to include the document source
in the error response in case of parsing errors. The default value is `true`.

Relates to ES-9186.
@mosche mosche added :Core/Infra/REST API REST infrastructure and utilities backport v8.18.0 labels Jan 28, 2025
@mosche mosche requested a review from a team January 28, 2025 11:08
Copy link
Contributor

@prdoyle prdoyle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed that this contains the same changes as the 9.x version, with the exception of BulkRequestParserTests.java, which just has more tests in 9.x.

@mosche mosche merged commit 37fa39d into elastic:8.x Jan 28, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Core/Infra/REST API REST infrastructure and utilities v8.18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants