versae/neo4j-rest-client — pull request #38 by dbro (2011-10-16 03:19:29+00:00)
Title: use JSON object to set index key and value

Fixes https://github.com/versae/neo4j-rest-client/issues/37 which I created. Please check the method I used to deconstruct the key from the IndexKey's self.url. There is probably a better way to get access to the key and url from the Index object.

This should be used with versions of neo4j that are at least as recent as 1.5.M02. see https://github.com/neo4j/community/issues/25 and http://docs.neo4j.org/chunked/snapshot/rest-api-indexes.html#rest-api-add-node-to-index