public
Last active

Gremlin Warm Cache on Neo4j

  • Download Gist
warm-cache.groovy
Groovy
1 2 3 4 5 6 7
// A Gremlin script to warm Neo4j's cache
 
def warmCache() {
for (vertex in g.getVertices()) {
vertex.getOutEdges()
}
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.