哪个nodejs库适用于AWS OpenSearch客户端?

发布于 2025-02-12 14:28:18 字数 147 浏览 0 评论 0原文

我计划使用AWS托管的OpenSearch。我发现有两个库@AWS-SDK/CLIELT-OPENSEARCH和 @openSearch-Project/opensearch。我想知道我应该使用哪一个。是否有很大的不同?

I am planning to use opensearch hosted by AWS. I found there are two libraries @aws-sdk/client-opensearch and @opensearch-project/opensearch. I wonder which one I should use. Are there meant to be very different?

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

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

发布评论

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

评论(1

生生漫 2025-02-19 14:28:18

它们都对不同的事物有用。

您很可能对实际的OpenSearch功能感兴趣,例如将项目添加到索引,更新索引,搜索索引。在这种情况下,您将找到@opensearch-project/opensearch有用。

如果您想获取有关已部署域的信息并管理它,则@aws-sdk/client-opensearch可能很有用。

They're both useful for different things.

Most likely you're interested in the actual opensearch features, like adding items to the index, updating the index, searching against the index. In this case you'll find @opensearch-project/opensearch useful. These AWS docs are helpful if this is what you're digging into.

If you're looking to get information about the deployed domain, and to manage it, then @aws-sdk/client-opensearch may be useful.

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