arangosh> db.test.ensureIndex({ type: "hash", fields: [ "a" ] }); { "deduplicate" : true, "fields" : [ "a" ], "id" : "test/16073", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, "type" : "hash", "unique" : false, "code" : 201 } arangosh> db.test.save({ a : 1 }); { "_id" : "test/16076", "_key" : "16076", "_rev" : "_WpTBAW---_" } arangosh> db.test.save({ a : 1 }); { "_id" : "test/16080", "_key" : "16080", "_rev" : "_WpTBAW---B" } arangosh> db.test.save({ a : null }); { "_id" : "test/16083", "_key" : "16083", "_rev" : "_WpTBAW---D" }