arangosh> db.ids.ensureIndex({ type: "skiplist", fields: [ "myId" ], unique: true }); { "deduplicate" : true, "fields" : [ "myId" ], "id" : "ids/15470", "isNewlyCreated" : true, "sparse" : false, "type" : "skiplist", "unique" : true, "code" : 201 } arangosh> db.ids.save({ "myId": 123 }); { "_id" : "ids/15473", "_key" : "15473", "_rev" : "_VRerDf6---" } arangosh> db.ids.save({ "myId": 456 }); { "_id" : "ids/15477", "_key" : "15477", "_rev" : "_VRerDg----" } arangosh> db.ids.save({ "myId": 789 }); { "_id" : "ids/15480", "_key" : "15480", "_rev" : "_VRerDgC---" } arangosh> db.ids.save({ "myId": 123 }); [ArangoError 1210: unique constraint violated - in index 15470 of type skiplist over ["myId"]]