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...

how use it? enter image description here

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

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -