mongo-connector
mongo-connector copied to clipboard
elasticsearch.helpers.BulkIndexError: ('2 document(s) failed to index.'
Hello:
Cause my commpany's requirement,i use mon-connector for mongo's data import ES.But,i find since ES6.X one index can't support multi types.Objective reasons,i cann't change my commpany's mongo's data.And abvious your codes cann't solve my problem ,even cann't solve most of commpany's problem.
I try to modify file <elastic2_doc_manager.py>,and i modify doc_type to index,it means index and type are some word .Finally,i success,this is my elasticsearch-head's result
I hope you can update your codes so that can support recently ES,looking forward to your reply,thanks!
ES6 is known not to work yet. Any contributions to support ES6 would be appreciated. Can you send a diff or PR for the changes you made? Hopefully someone will be able to work out a solution.
ES6 is known not to work yet. Any contributions to support ES6 would be appreciated. Can you send a diff or PR for the changes you made? Hopefully someone will be able to work out a solution.
Sorry,i am not familiar with python,my Language is java.I spent 3 days to learn python and tried to read your codes.Some place i don't understand,my solution is modify doc_type to index in file <elastic2_doc_manager.py> ,example:
Of course,not only this place in this file,i believe u know what i means.But,this is just suit my commpany's requirement and i have to modify by myself .I hava no idea should you delete type or modify doc_type to index, sorry i'm pyhton not very well . By the way ,my environment is python3.7.3, ES6.7 and ES7.0(i already tried both of them), pip3. Last thank u and your team for the contributions to mongo-connector.I sincerely hope that u and your team is getting better and better.
Hi, there are any news for this argument? Thanks.