cypher - Why do some relationship merge queries fail in Neo4j? -




i set neo4j instance (3.2) both on local machine (with brew) , on remote machine (with docker). i'm trying run query, use py2neo functions (merge on relationship) create cypher automatically.

i define 2 node objects, 1 each subject , object labels entity property both. create relationship object relationship type (is cheaper according to in query below) , add property called confidence relationship type. query i'm trying run:

merge (a0:subject {entity:"vss"}) set a0:subject merge (a1:object {entity:"vanguard"}) set a1:object merge (a0)-[r0:`is cheaper according to`]->(a1)  set r0.confidence="1.0" return a1, a0, r0 limit 1 

this query works fine on local neo4j, on remote, following error:

bolt.fetch s: failure {u'message': u'could not create token', u'code': u'neo.databaseerror.general.unknownerror'} 

i tried running above query directly in browser client too, , had same response, viz. works on local neo4j not remote.

further, if replace relationship type is cheaper according to is cheaper, query fails both in local , remote neo4j.

my setup neo4j on both identical , pretty vanilla. have 2 indexes on each though, on subject , object nodes.

i couldn't find support differing behavior on local v/s remote, , couldn't see reason why changing relationship type fail. there i'm missing here?

would appreciate help, thanks!





wiki

Comments

Popular posts from this blog

elasticsearch - what is the equivalent data type for geo_point in hibernate search? -

firebase - How to wait value in Ionic 2 -

Jenkins: find build number for git commit -