java - Can I use a manually created index and query nodes using Cypher? -


here have created manual/legacy index , added nodes properties it.

indexmanager indexy = graphdb.index(); index<node>indexery = indexy.fornodes("main_twitter_index"); indexery.add(one,"name",one.getproperty("name")); indexery.add(one,"email",one.getproperty("email")); indexery.add(four,"name",four.getproperty("name")); indexery.add(four,"email",four.getproperty("email")); 

now, query nodes of index neo4j suggests query, uses key-value pair binding. question can query same nodes added manual index using simple cypher query like,

start n=node:main_twitter_index(name = 'akina') return n 

which version of neo4j using? method describe typical index search before 2.0, before added schema indexing. query should work, in 2.0. having problems running it?


Comments