(四)Exploring Your Cluster

The REST API

Now that we have our node (and cluster) up and running, the next step is to understand how to communicate with it. Fortunately, Elasticsearch provides a very comprehensive and powerful REST API that you can use to interact with your cluster. Among the few things that can be done with the API are as follows:

现在我们已经启动并运行了节点(和集群),下一步是了解如何与它进行通信。幸运的是,Elasticsearch提供了一个非常全面和强大的REST API,您可以使用它与集群进行交互。使用API​​可以完成的一些事项如下:
  1、Check your cluster, node, and index health, status, and statistics
  检查群集,节点和索引运行状况,状态和统计信息
   2、Administer your cluster, node, and index data and metadata
  管理您的群集,节点和索引数据和元数据
   3、Perform CRUD (Create, Read, Update, and Delete) and search operations against your indexes
        对索引执行CRUD(创建,读取,更新和删除)和搜索操作
   4、Execute advanced search operations such as paging, sorting, filtering, scripting, aggregations, and many others
   执行高级搜索操作,例如分页,排序,过滤,脚本编写,聚合等等

猜你喜欢

转载自www.cnblogs.com/shuaiandjun/p/10271529.html