Description Usage Arguments Details Value
Get results for a query involving two nodes and the relationship(s) or path between them
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | neo.search(
a.search_term,
a.var = "a",
a.label,
a.property,
a.exact,
b.search_term,
b.var = "b",
b.label,
b.property,
b.exact,
rel.var = "r",
rel.relationship,
rel.degrees,
rel.directed
)
|
a.search_term |
Term to search for in node properties. Not case-sensitive. |
a.var |
Variable to assign to this node. Defaults to "n" |
a.label |
To search only nodes with a particular label, eg "Person". Defaults to any label. |
a.property |
The property type to search in. Defaults to any property. |
a.exact |
Use TRUE if you want only exact matches of your search term. Defaults to FALSE to match any property value that CONTAINS your search term. |
rel_var |
To assign a variable to the relationship. Defaults to "r". |
relationship |
The relationship label. |
degrees |
Degrees of separation defaults to 1. FOr a range use eg. "1..4" |
directed |
Directed defaults to undirected, but can be changed to "r", "–>" or "right" for right-directed, eg. a –> b (or similar for left-directed). |
The arguments below are the same for the first node, a, and the second node, b. (Just change the letter prefix.)
A relationship defined as a Cypher string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.