elasticsearch - How to use couch2elastic4sync -
i have used couchdb 1.6.1 , elastic 1.7.3
want elasticsearch couchdb integration, found couch2elastics4sync don't know npm.
installed couch2elastic4sync , ran it, it's not working...
i success..
edit couch2elastic4sync
root@dev:/usr/bin#vim couch2elastic4sync
var config = require('rc')('couch2elastic4sync', { addraw: false, rawfield: 'raw', endoncatchup: false, removemeta: true, urltemplate: false, load: { swallowerrors: false }, concurrency: 5, checkpointsize: 20, retry: { times: 10, interval: 200 }, elasticsearch: 'http://localhost:9200/couchdb/ektorp', database: 'http://localhost:5984/ektorp'
})
root@dev:/usr/bin#couch2elastic4sync
work...
Comments
Post a Comment