从Couchdb迁移到Elasticsearch

时间:2016-05-15 16:33:45

标签: elasticsearch migration couchdb logstash

我想将我的多数据库CouchDB(Cloudant)服务器迁移到ElasticSearch 2.x.目前,我可以使用Logstash couch_changes插件将CouchDB数据库同步到我的ElasticSearch服务器。问题是架构。是否有可能在ElasticSearch上设计类似CouchDB的架构,在那里我可以为我的租户创建单独的数据库或数据库集合?

1 个答案:

答案 0 :(得分:1)

Elasticsearch的类比不同。但您可以将弹性搜索索引粗略地视为其他RDMS中的数据库。

检查:https://www.elastic.co/blog/what-is-an-elasticsearch-index

MySQL => Databases => Tables => Columns/Rows
Elasticsearch => Indices => Types => Documents with Properties

您可以创建多个索引。