arangosh> db.test.ensureIndex({ type: "hash", fields: [ "a" ] }); { "deduplicate" : true, "fields" : [ "a" ], "id" : "test/111310", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, "type" : "hash", "unique" : false, "code" : 201 } arangosh> db.test.save({ a : 1 }); { "_id" : "test/111313", "_key" : "111313", "_rev" : "_X6arymi--_" } arangosh> db.test.save({ a : 1 }); { "_id" : "test/111317", "_key" : "111317", "_rev" : "_X6arymi--B" } arangosh> db.test.save({ a : null }); { "_id" : "test/111320", "_key" : "111320", "_rev" : "_X6arymm--_" }