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).
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.
(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
will find all nodes with any node property that contains the value 'mike'.
Searching by label
will find all nodes with the label
Search by node property
will find all nodes with the
name containing "mike" (e.g. Mike Sanders, Big Mike, etc).
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
? matches 1 character;
* matches any number of characters (including 0)
Example matches: "mike", "mice", "mime player"
- 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