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