arangosh> db.test.ensureIndex({ type: "skiplist", fields: [ "a[*]" ] });
{
"deduplicate" : true,
"fields" : [
"a[*]"
],
"id" : "test/16288",
"isNewlyCreated" : true,
"sparse" : false,
"type" : "skiplist",
"unique" : false,
"code" : 201
}
arangosh> db.test.save({ a : [ 1, 2 ] });
{
"_id" : "test/16291",
"_key" : "16291",
"_rev" : "_XiAwVDG--_"
}
arangosh> db.test.save({ a : [ 1, 3 ] });
{
"_id" : "test/16295",
"_key" : "16295",
"_rev" : "_XiAwVDG--B"
}
arangosh> db.test.save({ a : null });
{
"_id" : "test/16298",
"_key" : "16298",
"_rev" : "_XiAwVDG--D"
}