Let's say I have supernodes with many edges and would like to quickly return top N edges for a given node. How can I do it with ArangoDB Vertex Centric Index https://docs.arangodb.com/3.11/index-and-search/indexing/working-with-indexes/vertex-centric-indexes/?
I can create skiplist Vertex Centric Index
arangosh> db.collection.ensureIndex({ type: "skiplist", fields: [ "_from", "points" ] })
but the optimiser does not pick it up with sort query
FOR edge IN collection
FILTER edge._from == "vertices/123456"
SORT edge.points DESC
LIMIT 0, 10
RETURN edge
It also seems that arango optimizer does not pick up skiplist Vertex Centric Index in traversal syntax however documentation says it should:
FOR v, e, p IN 3..5 OUTBOUND @start GRAPH @graphName
FILTER p.edges[*].points ALL >0
RETURN v
1..5
or1..1
?