Open ricardolimaui opened 6 years ago
This has not been tested with elastic search version 5.0 and above.
Hi again, this error means it is not compatible ? I20180613-13:00:11.683(1)? Exception in callback of async function: ReferenceError: getWatcher is not defined I20180613-13:00:11.683(1)? at ESMongoSync.Oplog.on.Meteor.bindEnvironment.doc (packages/toystars:elasticsearch-sync/lib/index.js:188:25) I20180613-13:00:11.683(1)? at runWithEnvironment (packages/meteor.js:1241:24)
Thank you!
@ricardolimaui that is not a compatibility error. Actually, this PR #7 has been opened to fix this error. I will get it merged and push a new release
@ricardolimaui I just published version 0.1.2
. This should fix the error.
Thank you! Now it's working but i think i found some more bugs. If the root of the json has something with the key "name" it is only saving in elastic search "undefined undefined". Change/add the name of the key it is also giving an error "0180613-15:48:39.442(1)? Exception in callback of async function: TypeError: Cannot convert undefined or null to object
I20180613-15:48:39.690(1)? at Function.keys (
"key":"value", "_id" : "58b41a368c5da2520e6b335b", "namede" : "antena55", "manufacturer" : "5908aa93023a54c78115b9b8", "fruit" : "strawberry",
Can you reproduce this error too? Thank you
@ricardolimaui I will look into this
ok ok thank you
hi still got problems
I20180629-11:02:13.196(1)? { Error: Content-Type header [application/x-ldjson] is not supported
I20180629-11:02:13.196(1)? at respond (/Users/joseabrantes/.meteor/packages/toystars_elasticsearch-sync/.0.1.2.1b77vx6.w4jz++os+web.browser+web.cordova/npm/node_modules/elasticsearch/src/lib/transport.js:280:15)
I20180629-11:02:13.196(1)? at checkRespForFailure (/Users/joseabrantes/.meteor/packages/toystars_elasticsearch-sync/.0.1.2.1b77vx6.w4jz++os+web.browser+web.cordova/npm/node_modules/elasticsearch/src/lib/transport.js:239:7)
I20180629-11:02:13.197(1)? at HttpConnector.
The first part only happens with last elasticsearch version. The second part occours when exist an update to one file
Thank you
I'm getting a lot of errors with last version of elasticsearch. Is it supposed to still work? Thank you