Amazon elastic search – use Java SDK to interact with Amazon elastic search service

I can't find an example of how to use Amazon SDK to interact with Amazon elastic search cluster Can someone give me an example? I've found JavaDocs, such as AWS credentials and AWS elastic search client, just looking for specific examples of how to stick everything together I am looking for ways to do the following:

– create an index

Index file

Delete file

It's just a basic operation I assume that there is an "Amazon" way to create a client and interact with the cluster, because they provide an SDK for signing requests and a credential object

Solution

With more mining, I guess these SDK classes are more suitable for "infrastructure" type operations on elastic search instances, such as rotating a new node, rather than creating a client for search / index type operations I think I can use only one jet client

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>