gpt4 book ai didi

elasticsearch - 从Couchdb迁移到Elasticsearch

转载 作者:行者123 更新时间:2023-12-03 01:55:17 24 4
gpt4 key购买 nike

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

最佳答案

在Elasticsearch上,类推是不同的。但是您可以粗略地将Elasticsearch索引视为其他RDMS中的数据库。

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

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

您可以创建多个索引。

关于elasticsearch - 从Couchdb迁移到Elasticsearch,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37240844/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com