Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

mapper_parsing_exception #4

@bjarman

Description

@bjarman

When I run this demo I get this error:

(node:1695) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): [mapper_parsing_exception] Mapping definition for [suggest] has unsupported parameters: [payloads : true] :: {"path":"/randomindex/_mapping/document","query":{},"body":"{"properties":{"title":{"type":"string"},"content":{"type":"string"},"suggest":{"type":"completion","analyzer":"simple","search_analyzer":"simple","payloads":true}}}","statusCode":400,"response":"{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Mapping definition for [suggest] has unsupported parameters: [payloads : true]"}],"type":"mapper_parsing_exception","reason":"Mapping definition for [suggest] has unsupported parameters: [payloads : true]"},"status":400}"}
(node:1695) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions