0
嗯,我需要将数据从mongoDB传输到elastticSearch,但我不能使用河流插件,因为已弃用。如何将数据从mongoDB传输到elasticSearch 2.2.0?
做这个任务的最好方法是什么?
嗯,我需要将数据从mongoDB传输到elastticSearch,但我不能使用河流插件,因为已弃用。如何将数据从mongoDB传输到elasticSearch 2.2.0?
做这个任务的最好方法是什么?
使用mongodump工具转储您的mongodb数据库。然后,您应该能够使用它们的实用程序将转储文件直接导入到elasticsearch中,这在此处进行了解释。
https://www.elastic.co/guide/en/elasticsearch/reference/current/_exploring_your_data.html
你可能想看看这个答案:http://stackoverflow.com/questions/35374216/what-is-the-alternate-for-elastic-river-mongodb-plugin-supported-by -elasticsear/35375990#35375990 – Val