package uk.ac.cdrc.mintsearch.neo4j;

/**
 * Created by ucfawli on 11/10/16.
 */

import org.neo4j.graphdb.GraphDatabaseService;
import org.neo4j.logging.Log;
import org.neo4j.procedure.Context;

/**
 * This is an example showing how you could expose Neo4j's full text indexes as
 * two procedures - one for updating indexes, and one for querying by label and
 * the lucene query language.
 */
public abstract class Neo4JProcedure
{
    // This field declares that we need a GraphDatabaseService
    // as context when any procedure in this class is invoked
    @Context
    public GraphDatabaseService db;

    // This gives us a log instance that outputs messages to the
    // standard log, normally found under `data/log/console.log`
    @Context
    public Log log;
}


@@ -35,52 +35,8 @@
 j;%0A%0A
-/**%0A * Created by ucfawli on 11/10/16.%0A */%0A%0A
 impo
@@ -52,15 +52,23 @@
 o4j.
-graphdb
+kernel.internal
 .Gra
@@ -77,23 +77,19 @@
 Database
-Service
+API
 ;%0Aimport
@@ -548,23 +548,19 @@
 Database
-Service
+API
  db;%0A%0A  

Use a lower level interface of neo4j graph store