Skip to content

Conversation

@rjernst
Copy link
Member

@rjernst rjernst commented Oct 7, 2015

We previously removed the ability to specify metadata fields inside
documents in #11074, but the backcompat left leniency that allowed this
to still occur. This change locks down parsing so any metadata field
found while parsing a document results in an exception. This only
affects 2.0+ indexes; backcompat is maintained.

closes #13740
closes #3517

We previously removed the ability to specify metadata fields inside documents in elastic#11074, but the backcompat left leniency that allowed this to still occur. This change locks down parsing so any metadata field found while parsing a document results in an exception. This only affects 2.0+ indexes; backcompat is maintained. closes elastic#13740
@rjernst rjernst added >bug :Search Foundations/Mapping Index mappings, including merging and defining field types v2.1.0 v2.0.0 v5.0.0-alpha1 labels Oct 7, 2015
@jpountz
Copy link
Contributor

jpountz commented Oct 7, 2015

LGTM

rjernst added a commit that referenced this pull request Oct 7, 2015
Mappings: Enforce metadata fields are not passed in documents
@rjernst rjernst merged commit 4271893 into elastic:master Oct 7, 2015
rjernst added a commit that referenced this pull request Oct 7, 2015
Mappings: Enforce metadata fields are not passed in documents
rjernst added a commit that referenced this pull request Oct 7, 2015
Mappings: Enforce metadata fields are not passed in documents
rjernst added a commit that referenced this pull request Oct 7, 2015
Mappings: Enforce metadata fields are not passed in documents
@rjernst rjernst deleted the fix/13740 branch October 7, 2015 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>bug :Search Foundations/Mapping Index mappings, including merging and defining field types v2.0.0

3 participants