-
Notifications
You must be signed in to change notification settings - Fork 44
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
es-export-bulk can not support 5.x since search_type=scan is not avialable #17
Comments
I forked the project and upgraded to the newest elasticsearch-js library and removed the search_type property. I've tested the changes successfully with my local 5.4.1 elasticsearch installation. |
"es-export-bulk is not recognised as internal or external command" in windows cmd ...any help? |
Did you install it with the -g switch (npm install -g). You could also verify the PATH variable to contain the global install path. |
Thanks Jurigis. So I just need to uninstall and install again to apply your changes? |
Yes. It should work. |
I tried |
The "npm install" should display the path where the tools are installed. Is this path in your PATH environment variable? |
I still seeing searchType: 'scan' in both Am I cloning the wrong version? |
I just manually edit the es-export-bulk.js and now it works !. Thanks |
Hi Jurigis: I can successfully dump the document out with deleting 'scan' search type in the code. However the speed of dumping is like 7~8 times slower than before even with "sort":["_doc"] in the query. Do you have any idea why this is slow? |
Yeah .It worked.. I changed the PATH variable to c:/user/user_name/appdata |
thanx for the fix @jurigis ! |
I'm not able to merge it into the master branch. Only @skratchdot could do it. I've created a pull request. But there are several pull requests with failed integration tests. |
Sorry about this. @jurigis - I just merged your request. I don't think there are any tests in this project- but it would be great if there were. I haven't actually used this since my previous job (where it was necessary). I'll try to take another look at this and clean things up. Thanks for the PR |
I've published a new version: |
Good work! With your new version the issue is solved. I've just tested it with my local elasticsearch installation. |
Hi
I am using es-export-bulk in 5.x but it has some compatibility issue. The search_type=scan is not available anymore in 5.x.
The text was updated successfully, but these errors were encountered: