Transaction tx = graphDb.beginTx();
try {
CypherParser parser = new CypherParser();
ExecutionEngine engine = new ExecutionEngine(this.graphDb);
Query query = parser.parse("start n=(emergencies, 'emergencyId:" + emergencyId + "') return n");
ExecutionResult result = engine.execute(query);
Iterator<Node> n_column = result.columnAs("n");
Node emergency = n_column.next();
//Removing the node from the index
this.emergenciesIndex.remove(emergency);