arangosh> db.test.ensureIndex({ type: "skiplist", fields: [ "a[*]" ] });
{
"deduplicate" : true,
"fields" : [
"a[*]"
],
"id" : "test/16307",
"isNewlyCreated" : true,
"sparse" : false,
"type" : "skiplist",
"unique" : false,
"code" : 201
}
arangosh> db.test.save({ a : [ 1, 2 ] });
{
"_id" : "test/16310",
"_key" : "16310",
"_rev" : "_XG3zIdG--_"
}
arangosh> db.test.save({ a : [ 1, 3 ] });
{
"_id" : "test/16314",
"_key" : "16314",
"_rev" : "_XG3zIdG--B"
}
arangosh> db.test.save({ a : null });
{
"_id" : "test/16317",
"_key" : "16317",
"_rev" : "_XG3zIdK--_"
}