-
Notifications
You must be signed in to change notification settings - Fork 131
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
ensureMappingTemplate & mappingTemplate seems not working #125
Comments
I cannot confirm this, have you tried this with a fresh instance of ES? I could imagine that you already have an index pattern or your version of ES is not recent enough... |
Are you using elasticsearch 6 or 7? This was happening with 6.. now recent PR fixed it (on master now.. didn't release yet). |
A bigger issue is that this silently fails. Versions:
I had to deduce that the problem was actually here with a lot of trial and error. The package should instead throw an error / cause connection failure to elastic in case of incorrect configuration. |
This is a flaky bug. It sometimes happens and sometimes doesn't. Anyways, the problem goes away if I create the template myself. |
I tried to debug it at bulk_writer.js
and it fall to catch with error
mappingTemplate is exactly as in template
The text was updated successfully, but these errors were encountered: