gpt4 book ai didi

elasticsearch - 同一ES索引下有不止一种类型?

转载 作者:行者123 更新时间:2023-12-02 22:28:15 26 4
gpt4 key购买 nike

在Elasticsearch 6及更高版本中,我们不能创建多种类型,如Can't create two Types to same index elasticsearch & Kibana所述。

我的问题是在索引下具有类型的意义是什么?我们不应该只有索引吗?

最佳答案

在7版中,Elasticsearch索引类型仍将部分弃用,但为了向后兼容,它仍作为大多数API的一部分存在。在下一个主要版本8中,它将被完全删除。

来自:https://www.elastic.co/guide/en/elasticsearch/reference/master/removal-of-types.html

Types will be deprecated in APIs in Elasticsearch 7.0.0, and completely removed in 8.0.0.

关于elasticsearch - 同一ES索引下有不止一种类型?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54545846/

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