Tuesday, 17 September 2013

neo4j cypher index query

neo4j cypher index query

I was used to use node_auto_index( condition ) to search for nodes using
indexes, but now i used batch-import (
https://github.com/jexp/batch-import/ ) and it created indexes with
specific names ( type, code, etc ). So, how to do a cypher query using
indexes on multiple properties ?
old query example :
START n = node : node_auto_index( 'type: NODE_TYPE AND code: NODE_CODE' )
RETURN n;
how to do the 'same' query but without node_auto_index and specific index
names ?
START n = node : type( "type = NODE_TYPE" ) RETURN n;

No comments:

Post a Comment