标签:des style blog http color 使用
curl -XGET http://localhost:9200/_cluster/state/nodes?pretty=1
查看节点统计信息:
二、索引相关api
curl -XPUT http://localhost:9200/{indices}/_mapping/{type} curl -XPUT http://localhost:9200/{indices}/_alias/{name} curl -XPUT http://localhost:9200/{indices}/_warmer/{name} curl -XGET http://localhost:9200/{indices}/_mapping/{types} curl -XGET http://localhost:9200/{indices}/_alias/{names} curl -XGET http://localhost:9200/{indices}/_settings/{names} curl -XGET http://localhost:9200/{indices}/_warmer/{names} curl -XDELETE http://localhost:9200/{indices}/_mapping/{types} curl -XDELETE http://localhost:9200/{indices}/_alias/{names} curl -XDELETE http://localhost:9200/{indices}/_warmer/{names}
{
"my_index": {
"mappings": {
"my_type": {...}
}
}
}
上面是 get_mapping API返回的结果。
In the future we will also provide plural versions to allow putting multiple mappings etc in a single request.
这句话的意思,好像是在说,可以在一个请求中设置两个版本的mappings。
Elasticsearch从0.90(0.90.x)到1.2(1.x)API的变化-二,布布扣,bubuko.com
Elasticsearch从0.90(0.90.x)到1.2(1.x)API的变化-二
标签:des style blog http color 使用
原文地址:http://www.cnblogs.com/donlianli/p/3836768.html