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

Add an include_type_name option. #29453

Merged

Commits on Apr 10, 2018

  1. Add an include_type_name option.

    This adds an `include_type_name` option to the `indices.create`,
    `indices.get_mapping` and `indices.put_mapping` APIs, which defaults to `true`.
    When set to `false`, then mappings will be returned directly in the body of
    the `indices.get_mapping` API, without keying them by the type name, the
    `indices.create` will expect mappings directly under the `mappings` key, and
    the `indices.put_mapping` will use `_doc` as a type name and fail if a `type`
    is provided explicitly.
    
    Relates elastic#15613
    jpountz committed Apr 10, 2018
    Configuration menu
    Copy the full SHA
    ffde71e View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2018

  1. improve docs

    jpountz committed Apr 11, 2018
    Configuration menu
    Copy the full SHA
    62157be View commit details
    Browse the repository at this point in the history