推送数据后有什么方法可以更改索引字段的数据类型吗?

发布于 2025-01-16 17:00:42 字数 85 浏览 3 评论 0原文

我想将 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 技术交流群。

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

发布评论

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

评论(1

一人独醉 2025-01-23 17:00:42

恐怕您需要重新索引。好消息是,可以使用相对较快的 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.

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