OpenSearch使用批量与相同的_id重新加载文档
我计划使用bulk
服务将文档加载到OpenSearch中,并且我正在自定义创建_id
,但是在某些情况下,作业失败或其他,我需要重做这项工作,这意味着对于某些文档,我需要加载两次。我可以使用_id避免重复吗?如果这可以帮助避免重复,则使用版本操作来保存两个版本,或者只是删除旧版本?
谢谢
I plan to use the bulk
service to load the documents into opensearch, and i am custom create the _id
, but in some case the job failed or whatever, i need to redo the job, so this means for some document i need to load twice. can i use the _id to avoid duplication? and if this could help avoid duplicate, is opensearch using versioning to save both version or just remove the old one?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论