arangosh> db.test.ensureIndex({ type: "skiplist", fields: [ "a[*]" ] });
{
"deduplicate" : true,
"fields" : [
"a[*]"
],
"id" : "test/17983",
"isNewlyCreated" : true,
"sparse" : false,
"type" : "skiplist",
"unique" : false,
"code" : 201
}
arangosh> db.test.save({ a : [ 1, 2 ] });
{
"_id" : "test/17986",
"_key" : "17986",
"_rev" : "_W-M-ZT6--_"
}
arangosh> db.test.save({ a : [ 1, 3 ] });
{
"_id" : "test/17990",
"_key" : "17990",
"_rev" : "_W-M-ZU---_"
}
arangosh> db.test.save({ a : null });
{
"_id" : "test/17993",
"_key" : "17993",
"_rev" : "_W-M-ZU---B"
}