【ES从入门到实战】四、全文检索-ElasticSearch-入门-_cat

三、初步检索

对 ES 的所有请求都被封装成了 REST API,因此我们可以使用 postman 来访问它。

使用 postman 或者在浏览器地址栏输入请求路径http://192.168.56.10:9200/_cat/xxx

1、_cat

  • GET /_cat/nodes:查看所有节点

/_cat/nodes

  • GET /_cat/health:查看es健康状况

/_cat/health

  • GET /_cat/master:查看主节点

/_cat/master

  • GET /_cat/indices:查看所有索引 ;相当于 MySQL 的 show databases;

/_cat/indices


参考:
Elasticsearch Reference
elastic
全文搜索引擎 Elasticsearch 入门教程

猜你喜欢

转载自blog.csdn.net/runewbie/article/details/106303744