anchor.diff:  ==>neo4jgraph[EmbeddedGraphDatabase [/tmp/neo4j]]
   ----
   
  -Note that those connecting to Neo4j Server require use of Neo4j HA. To configure `Neo4jGraph` for "HA mode", set the `gremlin.neo4j.ha` flag to `true` in the `Configuration` object passed to `Neo4jGraph.open()`.  Note that when the flag is set (by default it is `false`), the `Neo4jGraph` instance expects HA configuration settings to be present.  As with embedded Neo4j, HA configuration keys should be prefixed with `gremlin.neo4j.conf`.  Please consult Neo4j documentation for more information on link:http://docs.neo4j.org/chunked/stable/ha.html[High Availability] configuration.
  +For those leveraging Neo4j High Availability, configure `Neo4jGraph` for "HA mode" by setting the `gremlin.neo4j.ha` flag to `true` in the `Configuration` object passed to `Neo4jGraph.open()`.  Note that when the flag is set (by default it is `false`), the `Neo4jGraph` instance expects HA configuration settings to be present.  As with embedded Neo4j, HA configuration keys should be prefixed with `gremlin.neo4j.conf`.  Please consult Neo4j documentation for more information on link:http://docs.neo4j.org/chunked/stable/ha.html[High Availability] configuration.
  +
  +Cypher
  +~~~~~~
  +
  +Neo4j are the creators of their own graph pattern-match query language called link:http://www.neo4j.org/learn/cypher[Cypher]. It is possible to leverage Cypher from within Gremlin by using the `neo4j-gremlin`-specific `Neo4jGraph.cypher()` graph traversal method.
  +
  +[source,groovy]
  +gremlin> g = Neo4jGraph.open('/tmp/neo4j')
  +==>neo4jgraph[EmbeddedGraphDatabase [/tmp/neo4j]]
  +gremlin> g.loadKryo('data/tinkerpop-classic.gio')
  +==>null
  +gremlin> g.cypher('MATCH (a {name:"marko"}) RETURN a')
  +==>[a:v[0]]
  +gremlin> g.cypher('MATCH (a {name:"marko"}) RETURN a').select('a').out('knows').name
  +==>vadas
  +==>josh
  +
  +Thus, like <<match-step,`match()`>> in Gremlin, it is possible to do a declarative pattern match and then move back into imperative Gremlin.
  +
  +IMPORTANT: For those developers using <<gremlin-server,Gremlin Server>> against Neo4j, it is possible to do Cypher queries by simply placing the Cypher string in `g.cypher(...)` before submission to the server.
  +
   
   [[giraph-gremlin]]
   Giraph-Gremlin
  
positive.code: 
  [source,groovy]
  gremlin> g.V.match('a',
             g.of().as('a').out('created').as('b'),
             g.of().as('b').has('name', 'lop'),
             g.of().as('b').in('created').as('c'),
             g.of().as('c').has('age', 29)).
            select(['a', 'c']){it.value('name')} 
  ==>[a:josh, c:marko]
  ==>[a:marko, c:marko]
  ==>[a:peter, c:marko]
  
  MatchStep brings functionality similar to link:http://en.wikipedia.org/wiki/SPARQL[SPARQL] to Gremlin. A few of the the differentiating qualities include:
  
  
negative.code: Gremlin Utilities
  =================
  
  [[gremlin-console]]
  Gremlin Console
  ---------------
  
  