gpt4 book ai didi

elasticsearch - 通过logstash设置文档_version

转载 作者:行者123 更新时间:2023-12-03 00:20:45 24 4
gpt4 key购买 nike

Elasticsearch允许您通过以下方式定义外部版本:
POST http://localhost:9200/index/type?version=1000&version_type=external
是否可以通过elasticsearch logstash输出定义特定的版本号?

最佳答案

根据the doc,您可以指定ID,但不能指定版本。我相信,如果您指定ID,它将创建一个新版本。

关于elasticsearch - 通过logstash设置文档_version,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31267497/

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