Elasticsearch版本版权向后兼容

发布于 2025-02-11 04:04:49 字数 213 浏览 0 评论 0原文

我们必须迁移一个系统,该系统目前有许多Elasticsearch索引,并激活了自定义版本,并且我们正在评估重新实现索引数据的引擎,但由于信息传输顺序而不使用自定义版本,但不使用自定义版本控制。

具体的问题是:我可以在Elasticsearch中索引文档的新版本,而无需在请求中传递“ _version”字段,而是通过已经具有以前具有相同文档ID但使用版本控制的索引来索引。

提前致谢。

We have to migrate a system where we currently have many ElasticSearch indexes with custom versioning activated, and we are evaluating re-implementing the engine that indexes the data but without using custom versioning since the information travels in order.

The specific question is: Can I index a new version of a document in ElasticSearch, without passing the '_version' field in the request, over an index that already has the same document ID previously indexed but with versioning?

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

血之狂魔 2025-02-18 04:04:49

是的,您可以,Elasticsearch将自动为您增量+1版本

yes you can, Elasticsearch will auto increment the version by +1 for you

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文