Currently, we are building our neo4j project using neo4j-jdbc drivers. We are performing all the operations like creating nodes with properties, deleting nodes and creating relations between two nodes using cypher queries. The sample code is like this
Class.forName("org.neo4j.jdbc.Driver");
// Connect
Connection con = DriverManager.getConnection("jdbc:neo4j://localhost:7474/");
// Querying
try(Statement stmt = con.createStatement())
{
ResultSet rs = stmt.executeQuery("MATCH (n:User) RETURN n.name");
while(rs.next())
{
System.out.println(rs.getString("n.name"));
}
}
We are performing all the basic searching using cypher queries clauses. I have studied about the indexing in neo4j tried to understand that too but still not succeeded in understanding whats full-text indexing exactly means.
Now we have to apply full text searching in our project but we are not getting any idea of how to use Lucene Queries with Cypher Queries to apply for full-text search. The sample code we got of use of Lucene query in neo4j was by using an embedded database or rest API.
PROBLEM:-
Full-text search in neo4j.
Embed lucene queries in cypher queries.
Full-text Indexing.