推送数据后有什么方法可以更改索引字段的数据类型吗?
我想将 opensearch 索引中一个字段的数据类型从 long 更改为 string。有什么办法可以这样做吗?我已经将数据推送到该索引中,因此它不为空。
i want to change the datatype of one field in my opensearch index from long to string. Is there any way to do so. I have already pushed data in that index so it is not empty.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
恐怕您需要重新索引。好消息是,可以使用相对较快的 reindex API,无需运行整个 ETL 管道。
I'm afraid you'll need to reindex. The good news is that it can be done with the relatively fast reindex API without running your whole ETL pipeline.