arangosh> db.test.ensureIndex({ type: "hash", fields: [ "a[*]" ] }); { "deduplicate" : true, "fields" : [ "a[*]" ], "id" : "test/17894", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, "type" : "hash", "unique" : false, "code" : 201 } arangosh> db.test.save({ a : [ 1, 2 ] }); { "_id" : "test/17897", "_key" : "17897", "_rev" : "_WK_Ooay--_" } arangosh> db.test.save({ a : [ 1, 3 ] }); { "_id" : "test/17901", "_key" : "17901", "_rev" : "_WK_Ooay--B" } arangosh> db.test.save({ a : null }); { "_id" : "test/17904", "_key" : "17904", "_rev" : "_WK_Ooa2--_" }