Hi Andrew,

> I have a quick question regarding string template. When we create a node 
> index the server returns a template
>  http://localhost:7474/db/data/index/node/favorites/{key}/{value}
> 
> Does Neo4J have any API similar to StringTemplate that can replace 
> placeholders in the template with the real
> values?

Short answer: no.

The reason we used these URI templates is that we can't enumerate (in the 
general case) the contents of an index, so we have to invite clients to compute 
them (hence the URI template). 

So the thinking goes, since it's you (as the client) that creates the index 
entries, knowing the {key} and {value} expansions are easy for you to perform.

Jim
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to