我尝试使用Mongolastic将数据从Mongo传输到Elasticsearch。
我的简单配置如下:
misc:
dindex:
name: my_db
ctype:
name: collection1
mongo:
host: localhost
port: 27017
elastic:
host: localhost
port: 9300
配置说Mongolastic会通过创建新的索引名称my_db将collection1从Mongo上的my_db传输到Elasticsearch。 这意味着我将只在Elasticsearch中获得collection1。
所以我的问题是有哪些方法可以将所有集合从my_db传输到Elasticsearch只需一次点击?