For Dashboard Users Finding Nodes
Friday, March 15, 2019 10:25 PMFinding nodes
Searching through your graph database
In InterActor there are two ways to run a search on your Neo4j graph store:
- using the Neo4j panel to execute regular cypher statements
- using the Elastic panel to execute an Elastic Search (Enterprise Edition only).
Neo4j panel
The Neo4j panel is usually located on the left panel sidebar-left
of InterActor. Here you can enter and execute cypher statements against your Neo4j 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 table format, depending on the selection made in the Output dropdown.
Elastic panel
(Enterprise Edition only)
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