arangosh> db.test.ensureIndex({ type: "skiplist", fields: [ "a[*]" ] });
{
"deduplicate" : true,
"fields" : [
"a[*]"
],
"id" : "test/17988",
"isNewlyCreated" : true,
"sparse" : false,
"type" : "skiplist",
"unique" : false,
"code" : 201
}
arangosh> db.test.save({ a : [ 1, 2 ] });
{
"_id" : "test/17991",
"_key" : "17991",
"_rev" : "_V8R1T8K--_"
}
arangosh> db.test.save({ a : [ 1, 3 ] });
{
"_id" : "test/17995",
"_key" : "17995",
"_rev" : "_V8R1T8K--B"
}
arangosh> db.test.save({ a : null });
{
"_id" : "test/17998",
"_key" : "17998",
"_rev" : "_V8R1T8O--_"
}