-
Check the health status of the cluster, the cluster can see color. (Yellow: primary shard are normal, replica abnormal)GET /_cat/health?v
-
Clustered index lists allGET /_cat/indices?vGET _cluster/health
-
PUT piece of data: if the specified document does not exist, create, there is the full amount of the replacement . If the index type does not exist, automatically create an index, type
PUT /beauties/cn/1 { "Name":"Zhao Liying", "Age":20, "Height":160, "3D":[80,60,80] }
-
Force the creation of the document: If you already exists, an errorPUT /test_index/test_type/4/_create{"f1":"test f1"}
-
Gets the index, type, id corresponding data
GET /beauties/cn/1
-
Partial update of a document in a field (Partial Update)
POST /beauties/cn/1/_update
{
"doc":{
"Age":21
}
}
-
To delete a data (specified index, type, id)
DELETE /test_cluster/test_type/tid_1?pretty
-
The number of points specified index sheets, the number of copies, for example: the number of fragments test_index 2, a copy of