Elasticsearch版本版权向后兼容
我们必须迁移一个系统,该系统目前有许多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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您可以,Elasticsearch将自动为您增量+1版本
yes you can, Elasticsearch will auto increment the version by +1 for you