Neo4j node api don't know how to find/get node by parameters not only id
Problem
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: "[email protected]", password: "5@^632g23^@#23"});
Can anyone explane it to me, or point me to a good resource explaining it :)
Related Articles
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 =)
Discussion
View additional discussion.