Elasticsearch基本概念
1、Index索引、Node节点
开发关注数据的索引,运维关注的节点情况及物理情况
2、文档(Document)
3、JSON文档
4、文档元数据
5、索引
6、Type
7、关系型数据库与ElasticSearch 数据结构对比
8、ElasticSearch 是怎么实现跨平台
ElasticSearch 支持REST API ,所有开发语言都可以调用
9、Index 相关 API
在如下api 命令需要在 Kibana Dev Tools 执行,相关KIbana安装配置及demo数据导入详见
https://blog.csdn.net/qq\_36918149/article/details/104224625
Dev Tools 中调用 Elasticsearch api
一些简单api用法
#查看索引相关信息
GET kibana_sample_data_ecommerce
#查看索引的文档总数
GET kibana_sample_data_ecommerce/_count
#_cat indices API
#查看indices
GET /_cat/indices/kibana*?v&s=index
#查看状态为绿的索引
GET /_cat/indices?v&health=green
#按照文档个数排序
GET /_cat/indices?v&s=docs.count:desc
#查看具体的字段
GET /_cat/indices/kibana*?pri&v&h=health,index,pri,rep,docs.count,mt
#How much memory is used per index?
GET /_cat/indices?v&h=i,tm&s=tm:desc
还没有评论,来说两句吧...