get 127.0.0.1:9200/_cat/indices
显示所有索引,文件占用大小
get 127.0.0.1:9200/indexName
显示索引indexName的信息,mappings,settings
get 127.0.0.1:9200/indexName/_coung
indexName索引下的统计
put 127.0.0.1:9200/indexName
{
“settings”: { … any settings … },
“mappings”: {
“type_one”: { … any mappings … },
“type_two”: { … any mappings … },
…
}
创建indexName索引,和其他参数mappings, settings
delete 127.0.0.1:9200/indexName
删除indexName索引
delete 127.0.0.1:9200/_all
【慎用】删除全部索引
get 127.0.0.1:9200/_mapping
显示所有索引的mapping