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