For Dashboard Users Finding Nodes
Friday, March 15, 2019 10:27 PMFinding nodes
Searching through your graph database
In Graphileon there are two ways to run a search on your graph store:
- using the Cypher panel to execute regular openCypher statements
- using the Elastic panel to execute an Elastic Search
Cypher panel
The Cypher panel is usually located on the left panel sidebar-left
of Graphileon. Here you can enter and execute openCypher statements against your graph store. A default Cypher statement is provided that can be adapted or replaced by something else.
Searching for nodes is done here as you would do in any other situation where Cypher is used to find and filter nodes and relations.
Click on the [Execute] button in the Cypher panel once the cypher statement has been entered. The statement is now executed and the result is displayed in either a NetworkView or in grid format, depending on the selection made in the Output dropdown.
Elastic panel
The Elastic panel uses ElasticSearch syntax to search through the Neo4j graph store.
Examples of how to use ElasticSearch syntax in InterActor:
Searching for a string in any node property
mike
will find all nodes with any node property that contains the value 'mike'.
Searching by label
labels:Person
will find all nodes with the label Person
.
Search by node property
properties.name:mike
will find all nodes with the name
containing "mike" (e.g. Mike Sanders, Big Mike, etc).
properties.age>20
will find all nodes of which the age
property is larger than 20
Using logical operators: AND and OR
labels:Person AND (properties.age > 20 OR properties.age < 10)
will find all persons older than 20 or younger than 10
Wildcards
properties.name:mi?e*
?
matches 1 character; *
matches any number of characters (including 0)
Example matches: "mike", "mice", "mime player"
Notes:
- Elastic Search only returns the first 50 nodes that meet the selection criteria.
- The search is triggered by pressing the Enter key on your keyboard
- search syntax and strings are not case sensitive, except for the Logical Operators that should be written in UPPERCASE as
AND
orOR
- the colon
:
is used as the equal sign - multi-word string values should be enclosed in
"double quotes"