Skip to content

The mapping definition cannot be nested under a type [_doc] unless include_type_name is set to true. #374

@MirrorBytes

Description

@MirrorBytes

With the latest pre-release, I'm getting an issue revolving around the document type. If I build out the mappings without Struct::static_ty(): Struct::index_mapping(), it's fine. Removing the wrapping "_doc": {} corrected the issue for me.

This is related to the removal of mapping types in version 7.x.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions