arangosh> db.test.ensureIndex({ type: "skiplist", fields: [ "a[*]" ] });
{
"deduplicate" : true,
"fields" : [
"a[*]"
],
"id" : "test/18522",
"isNewlyCreated" : true,
"sparse" : false,
"type" : "skiplist",
"unique" : false,
"code" : 201
}
arangosh> db.test.save({ a : [ 1, 2 ] });
{
"_id" : "test/18525",
"_key" : "18525",
"_rev" : "_XGh_YqG--_"
}
arangosh> db.test.save({ a : [ 1, 3 ] });
{
"_id" : "test/18529",
"_key" : "18529",
"_rev" : "_XGh_YqK--_"
}
arangosh> db.test.save({ a : null });
{
"_id" : "test/18532",
"_key" : "18532",
"_rev" : "_XGh_YqS---"
}