arangosh> db.ids.ensureIndex({ type: "skiplist", fields: [ "myId" ], unique: true }); { "deduplicate" : true, "fields" : [ "myId" ], "id" : "ids/16394", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", "unique" : true, "code" : 201 } arangosh> db.ids.save({ "myId": 123 }); { "_id" : "ids/16397", "_key" : "16397", "_rev" : "_W0jzAme--_" } arangosh> db.ids.save({ "myId": 456 }); { "_id" : "ids/16401", "_key" : "16401", "_rev" : "_W0jzAme--B" } arangosh> db.ids.save({ "myId": 789 }); { "_id" : "ids/16404", "_key" : "16404", "_rev" : "_W0jzAmi--_" } arangosh> db.ids.save({ "myId": 123 }); [ArangoError 1210: unique constraint violated - in index 16394 of type skiplist over ["myId"]; conflicting key: 16397]