arangosh> db.test.ensureIndex({ type: "hash", fields: [ "a" ] }); { "deduplicate" : true, "fields" : [ "a" ], "id" : "test/15348", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, "type" : "hash", "unique" : false, "code" : 201 } arangosh> db.test.save({ a : 1 }); { "_id" : "test/15351", "_key" : "15351", "_rev" : "_VOyxn5q---" } arangosh> db.test.save({ a : 1 }); { "_id" : "test/15355", "_key" : "15355", "_rev" : "_VOyxn5u---" } arangosh> db.test.save({ a : null }); { "_id" : "test/15358", "_key" : "15358", "_rev" : "_VOyxn5u--_" }