Is it possible to have something like a Weight in a traversal?
FOR v,e,p
IN 1..4
ANY "entities/foo"
GRAPH "friendGraph"
OPTIONS {
bfs: true,
uniqueVertices: 'global',
weight: 'friendType'
}
FILTER v._id == "entities/bar"
RETURN p
I have one vertices collection (entities) and one edge collection (edges).
Entities has entityType, which is an INT between 1 and 5. It would be
amazing if the query could use entityType as a weight.
If that won't work, if I broke out entities into 5 different collections
and somehow put a different weight on each collection?
If none of those works, any other suggestions would be valued.
Thank you all!
I think I'm obsessed with Arangodb.
--
You received this message because you are subscribed to the Google Groups
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.