Skip to content

Conversation

@danielmitterdorfer
Copy link
Member

With this commit we enable the Jackson feature 'STRICT_DUPLICATE_DETECTION'
by default for all XContent types (not only JSON).

We have also changed the name of the system property to disable this feature
from es.json.strict_duplicate_detection to the now more appropriate name
es.xcontent.strict_duplicate_detection.

Relates #19614
Relates #22073

With this commit we enable the Jackson feature 'STRICT_DUPLICATE_DETECTION'
by default for all XContent types (not only JSON).

We have also changed the name of the system property to disable this feature
from `es.json.strict_duplicate_detection` to the now more appropriate name
`es.xcontent.strict_duplicate_detection`.

Relates elastic#19614
Relates elastic#22073
has been removed in Elasticsearch 6.0.0.

==== Duplicate Keys in JSON
==== Duplicate Keys in Content
Copy link
Member

Choose a reason for hiding this comment

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

s/Content/JSON, CBOR, Yaml and Smile

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point. I'll change that before merging.

@danielmitterdorfer danielmitterdorfer merged commit 3ce7b11 into elastic:master Dec 19, 2016
danielmitterdorfer added a commit to danielmitterdorfer/elasticsearch that referenced this pull request Oct 18, 2018
With this commit we cleanup hand-coded duplicate checks in XContent
parsing. They were necessary previously but since we reconfigured the
underlying parser in elastic#22073 and elastic#22225, these checks are obsolete and
were also ineffective unless an undocumented system property has been
set. As we also remove this escape hatch, we can remove the additional
checks as well.

Closes elastic#22253
danielmitterdorfer added a commit that referenced this pull request Oct 19, 2018
With this commit we cleanup hand-coded duplicate checks in XContent
parsing. They were necessary previously but since we reconfigured the
underlying parser in #22073 and #22225, these checks are obsolete and
were also ineffective unless an undocumented system property has been
set. As we also remove this escape hatch, we can remove the additional
checks as well.

Closes #22253
Relates #34588
kcm pushed a commit that referenced this pull request Oct 30, 2018
With this commit we cleanup hand-coded duplicate checks in XContent
parsing. They were necessary previously but since we reconfigured the
underlying parser in #22073 and #22225, these checks are obsolete and
were also ineffective unless an undocumented system property has been
set. As we also remove this escape hatch, we can remove the additional
checks as well.

Closes #22253
Relates #34588
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>breaking :Core/Infra/REST API REST infrastructure and utilities v6.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants