Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate that fields are defined only once. #15243

Merged
merged 1 commit into from Dec 15, 2015

Commits on Dec 15, 2015

  1. Validate that fields are defined only once.

    There are two ways that a field can be defined twice:
     - by reusing the name of a meta mapper in the root object (`_id`, `_routing`,
       etc.)
     - by defining a sub-field both explicitly in the mapping and through the code
       in a field mapper (like ExternalMapper does)
    
    This commit adds new checks in order to make sure this never happens.
    
    Close elastic#15057
    jpountz committed Dec 15, 2015
    Copy the full SHA
    5d5c659 View commit details
    Browse the repository at this point in the history