concept rest api in category graphs

This is an excerpt from Manning's book Neo4j in Action.
Note that graph-mutating operations in Neo4j don’t support updates to manually created indexes. If you need to index your newly created nodes using custom indexes (not schema indexes), you’ll have to use the Neo4j Core Java API, language bindings, or REST API.
All of the coding examples you’ve seen in the book so far have used an embedded mode setup. Embedded mode is a great way to experiment with Neo4j, and it’s often used to explore what Neo4j is capable of. Even if you decide to use the server mode, there will still be opportunities to make use of native APIs on the server itself, and sometimes it may even be necessary. Additionally, with the REST API often just providing a façade over the raw embedded API, knowing and understanding exactly how the embedded APIs work can be very useful. Understanding embedded semantics and options will go a long way toward helping you get the most out of your setup, even if you opt for a server-based setup.