arangosh> db.test.ensureIndex({ type: "hash", fields: [ "a[*]" ] }); { "deduplicate" : true, "fields" : [ "a[*]" ], "id" : "test/16035", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, "type" : "hash", "unique" : false, "code" : 201 } arangosh> db.test.save({ a : [ 1, 2 ] }); { "_id" : "test/16038", "_key" : "16038", "_rev" : "_WjL9Awq--_" } arangosh> db.test.save({ a : [ 1, 3 ] }); { "_id" : "test/16042", "_key" : "16042", "_rev" : "_WjL9Awq--B" } arangosh> db.test.save({ a : null }); { "_id" : "test/16045", "_key" : "16045", "_rev" : "_WjL9Awq--D" }