Question

i'm new to neo4j, i'm reading the documentation and a sample, small app based on the node module (neo4j), but i don't see a way to get a node or nodes based on parameter/r.

something like:

var node = db.find({user: "WillSmith@iam.com", password: "5@^632g23^@#23"});

Can anyone explane it to me, or point me to a good resource explaining it :)

Was it helpful?

Solution

As far as i know, if you want to find nodes by property, you should search in index. This index you should create by yourself.

In this file i can see functions for working with indexes, unfortunately i've implemented this only in java, so i cant help with exact implementation. Hope, it helps =)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top