-
Notifications
You must be signed in to change notification settings - Fork 83
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
"More than one type" error #65
Comments
Hi @peio, |
Hi @moshe
I have also noted difference on the behavior of the command parsing library on Windows 10 (Powershell) and Fedora Linux. It is separate issue, related to the parsing of the wildcard (*.json) but might be indication where the cause is. Thank you, |
can you try to change the type to |
Oh, --type _doc makes much more sense. It will take me a while to do a setup, because I am loading with a patched elasticsearch_loader on a prod setup, but will do a test setup as soon as I can. |
Yep, confirmed. --type _doc is the right argument. Thank you! |
Actually, it is documented in the
I will write a better help message + warning if using es7 with type argument. Thanks @peio |
Dear Moshe,
I am using elasticsearch_loader with the elastic version 7.1.1 on elastic cloud. When I add my own mapping to the index and then use the loader the following error is displayed:
Tracing the issue I believe this change is the cause: https://www.elastic.co/blog/index-type-parent-child-join-now-future-in-elasticsearch
I was able to go around it by commenting this line:
elasticsearch_loader/elasticsearch_loader/iter.py
Line 18 in 510fdbe
But I believe there might be better solution, which you might be able to propose.
Thank you for the helpful software!
Peio
The text was updated successfully, but these errors were encountered: