Skip to content

Instantly share code, notes, and snippets.

@espeed
Created December 15, 2011 06:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save espeed/1480108 to your computer and use it in GitHub Desktop.
Save espeed/1480108 to your computer and use it in GitHub Desktop.
Gremlin Warm Cache on Neo4j
// A Gremlin script to warm Neo4j's cache
def warmCache() {
for (vertex in g.getVertices()) {
vertex.getOutEdges()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment