arangosh> db.test.ensureIndex({ type: "hash", fields: [ "a[*]" ] }); { "deduplicate" : true, "fields" : [ "a[*]" ], "id" : "test/16225", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, "type" : "hash", "unique" : false, "code" : 201 } arangosh> db.test.save({ a : [ 1, 2 ] }); { "_id" : "test/16228", "_key" : "16228", "_rev" : "_XiAwU8y--_" } arangosh> db.test.save({ a : [ 1, 3 ] }); { "_id" : "test/16232", "_key" : "16232", "_rev" : "_XiAwU82--_" } arangosh> db.test.save({ a : null }); { "_id" : "test/16235", "_key" : "16235", "_rev" : "_XiAwU82--B" }