how to find the particular node using the Neo4j API.When i refereed the docs i got some code to get all nodes However if i have a node called "XYZ" I would like to know how to obtain ONLY that particular node.
The MATCH clause allows you to specify the patterns Neo4j will search for in the database. This is the primary way of getting data into the current set of bindings. It is worth reading up more on the specification of the patterns themselves in Patterns.
A graph with three nodes (the circles) and three relationships (the arrows). The Neo4j property graph database model consists of: Nodes describe entities (discrete objects) of a domain. Nodes can have zero or more labels to define (classify) what kind of nodes they are.
Take a look at the Indexing Service which will allow you to index your nodes with key-value pairs. Once you've indexed your nodes you can query the graph and retrieve nodes which match a given key-value.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With