write down,forget
adidas eqt support ultra primeknit vintage white coming soon adidas eqt support ultra boost primeknit adidas eqt support ultra pk vintage white available now adidas eqt support ultra primeknit vintage white sz adidas eqt support ultra boost primeknit adidas eqt adv support primeknit adidas eqt support ultra boost turbo red white adidas eqt support ultra boost turbo red white adidas eqt support ultra boost turbo red adidas eqt support ultra whiteturbo adidas eqt support ultra boost off white more images adidas eqt support ultra boost white tactile green adidas eqt support ultra boost beige adidas eqt support ultra boost beige adidas eqt support refined camo drop adidas eqt support refined camo drop adidas eqt support refined running whitecamo adidas eqt support 93 primeknit og colorway ba7506 adidas eqt running support 93 adidas eqt support 93

mongodb&mongodb-river(elasticsearch)部署

<Category: Diving Into ElasticSearch> 查看评论

#下载编译好的版本

#创建3个mongodb实例的目录

#启动3个mongodb实例,参数–replSet用来配置replica group

#启动客户端

#配置replica信息,添加3节点,请在1分钟内配置完成

上面的过程如下

#编译相应包,1.3源码编译出来的没有此jar包,需自己下载编译并放置到plugin/mongodb目录

#编译输出:mongo-java-driver-2.11.0-SNAPSHOT.jar

#放置jar包:mongo-java-driver-2.11.0-SNAPSHOT.jar到插件目录下面
#最终插件的目录下:

#fiddler创建mongodb-river的meta信息,一个collection,一个river配置

#创建另外一个collection的river配置

#往mongodb里面保存数据

#从elasticsearch里面查询数据

#返回结果如下:

都来自于
https://github.com/richardwilly98/elasticsearch-river-
https://github.com/richardwilly98/elasticsearch-river-mongodb/wiki
http://satishgandham.com/2012/09/a-complete-guide-to-integrating-mongodb-with-elastic-search/
http://docs.mongodb.org/manual/tutorial/deploy-replica-set/

本文来自: mongodb&mongodb-river(elasticsearch)部署