1
0
Fork 0
arangodb/Documentation/Examples/RestIndexAllIndexes.generated

72 lines
1.4 KiB
Plaintext

shell> curl --data-binary @- --dump - http://localhost:8529/_api/index?collection=products
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"indexes" : [
{
"id" : "products/0",
"type" : "primary",
"unique" : true,
"sparse" : false,
"selectivityEstimate" : 1,
"fields" : [
"_key"
]
},
{
"id" : "products/1235788077",
"type" : "hash",
"unique" : false,
"sparse" : false,
"selectivityEstimate" : 1,
"fields" : [
"name"
]
},
{
"id" : "products/1236050221",
"type" : "skiplist",
"unique" : false,
"sparse" : true,
"fields" : [
"price"
]
}
],
"identifiers" : {
"products/0" : {
"id" : "products/0",
"type" : "primary",
"unique" : true,
"sparse" : false,
"selectivityEstimate" : 1,
"fields" : [
"_key"
]
},
"products/1235788077" : {
"id" : "products/1235788077",
"type" : "hash",
"unique" : false,
"sparse" : false,
"selectivityEstimate" : 1,
"fields" : [
"name"
]
},
"products/1236050221" : {
"id" : "products/1236050221",
"type" : "skiplist",
"unique" : false,
"sparse" : true,
"fields" : [
"price"
]
}
},
"error" : false,
"code" : 200
}