rwynn / monstache-site

documentation for the monstache project
https://rwynn.github.io/monstache-site/
MIT License
22 stars 31 forks source link

[types removal] Specifying types in bulk requests is deprecated #26

Open SherlockCodeHolmes opened 3 years ago

SherlockCodeHolmes commented 3 years ago

同步刚开始还好好的,到后面就遇到了问题 image

rwynn commented 3 years ago

hi, can you please try with monstache v6 https://github.com/rwynn/monstache/releases/tag/v6.7.5 This version is compatible with recent versions of Elasticsearch

SherlockCodeHolmes commented 3 years ago

我已经使用了最新版本的monstache,同步到es中的id字段是如何指定的呢?如何指定mongodb的id为es的id

rwynn commented 3 years ago

by default monstache sends the _id of the MongoDB document as the _id of the Elasticsearch document. Do you need something different?

SherlockCodeHolmes commented 3 years ago

image 报错显示乱码,512字节限制是指哪个字段,我应该如何改进 image date转换错误,但是mongodb中的date字段是string类型,请问这个问题该如何改进