arangosh> db.test.ensureIndex({ type: "hash", fields: [ "a[*]" ] }); { "deduplicate" : true, "fields" : [ "a[*]" ], "id" : "test/16090", "isNewlyCreated" : true, "selectivityEstimate" : 1, "sparse" : false, "type" : "hash", "unique" : false, "code" : 201 } arangosh> db.test.save({ a : [ 1, 2 ] }); { "_id" : "test/16093", "_key" : "16093", "_rev" : "_WpTBAWu--_" } arangosh> db.test.save({ a : [ 1, 3 ] }); { "_id" : "test/16097", "_key" : "16097", "_rev" : "_WpTBAWu--B" } arangosh> db.test.save({ a : null }); { "_id" : "test/16100", "_key" : "16100", "_rev" : "_WpTBAWy--_" }