arangosh> db.test.ensureIndex({ type: "skiplist", fields: [ "a[*]" ] });
{
"deduplicate" : true,
"fields" : [
"a[*]"
],
"id" : "test/111474",
"isNewlyCreated" : true,
"sparse" : false,
"type" : "skiplist",
"unique" : false,
"code" : 201
}
arangosh> db.test.save({ a : [ 1, 2 ] });
{
"_id" : "test/111477",
"_key" : "111477",
"_rev" : "_Y2g68xa--_"
}
arangosh> db.test.save({ a : [ 1, 3 ] });
{
"_id" : "test/111481",
"_key" : "111481",
"_rev" : "_Y2g68xa--B"
}
arangosh> db.test.save({ a : null });
{
"_id" : "test/111484",
"_key" : "111484",
"_rev" : "_Y2g68xe--_"
}