This repository was archived by the owner on Sep 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
mapper_parsing_exception #4
Comments
Hi, just to make sure - what version of ES are you using? |
Hi, I'm using 13.3.1 and I'm having the same problem. When i use the same version that tutorial, i get the error Unhandled rejection Error: Bad Request |
I am also having the same issue |
The main question is what version of ES-Server you are using. this tutorial was written 2 years ago for ES 2.x . I will eventually find the time to update it... |
thank you for your reply. |
As I said, it's written for an older version. You can watch the repo, I will eventually find the time to update it. |
ok thank you |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: