Reputation: 23
I am currently involved in a project where I need to build a remote neo4j server for adding some ego-networks (with just a few of nodes and relationships).
I've been using this documentation: http://docs.neo4j.org/chunked/milestone/server-java-rest-client-example.html
However, I do not find how to create unique nodes (specifying an attribute as id) and I would like to know if it is also possible to make some queries to the REST API via url (solr style).
Thanks in advance!
Upvotes: 2
Views: 180
Reputation: 1547
Neo4j has a REST API - see http://docs.neo4j.org/chunked/stable/rest-api.html for the documentation.
Nodes can be unique per-index (meaning, if you index a property, you can enforce only one node existing for that property) - see http://docs.neo4j.org/chunked/stable/rest-api-unique-indexes.html for the documentation to do this via the REST API.
Upvotes: 1