arangosh> db.test.ensureIndex({ type: "skiplist", fields: [ "a[*]" ] });
{
"deduplicate" : true,
"fields" : [
"a[*]"
],
"id" : "test/18167",
"isNewlyCreated" : true,
"sparse" : false,
"type" : "skiplist",
"unique" : false,
"code" : 201
}
arangosh> db.test.save({ a : [ 1, 2 ] });
{
"_id" : "test/18170",
"_key" : "18170",
"_rev" : "_WgE9Tpy--_"
}
arangosh> db.test.save({ a : [ 1, 3 ] });
{
"_id" : "test/18174",
"_key" : "18174",
"_rev" : "_WgE9Tp2--_"
}
arangosh> db.test.save({ a : null });
{
"_id" : "test/18177",
"_key" : "18177",
"_rev" : "_WgE9Tp6--_"
}