2016-05-17 04:32:38 +02:00
|
|
|
neo4j
|
|
|
|
=====
|
|
|
|
|
|
|
|
[Neo4j][1] is a highly scalable native graph database that leverages data
|
|
|
|
relationships as first-class entities, helping enterprises build intelligent
|
|
|
|
applications to meet today’s evolving data challenges.
|
|
|
|
|
|
|
|
## up and running
|
|
|
|
|
2021-09-23 09:53:51 +02:00
|
|
|
```bash
|
2016-05-17 04:32:38 +02:00
|
|
|
$ docker-compose up -d
|
|
|
|
|
|
|
|
$ docker-compose exec neo4j bin/neo4j-shell
|
|
|
|
>>> man
|
|
|
|
>>> export person_id="123"
|
|
|
|
>>> env
|
|
|
|
>>> create index on :Person(id);
|
|
|
|
>>> create (p:Person {id: {person_id}}) return p;
|
|
|
|
>>> match (p:Person {id: {person_id}}) return p;
|
|
|
|
>>> exit
|
2021-09-23 09:53:51 +02:00
|
|
|
|
|
|
|
$ curl http://localhost:7474/browser/
|
2016-05-17 04:32:38 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
[1]: http://neo4j.com/
|