Neo4j Recommendation Cypher Query Optimization
问题 I am using Neo4j community edition embedded in java application for recommendation purpose. I made a custom function which contains a complex logic of comparing two entities, namely product and users. Both entities are present as nodes in graph and has more than 20 properties each for comparison purpose. For eg. I am calling this function in following format: match (e:User {user_id:"some-id"}) with e match (f:Product {product_id:"some-id"}) with e,f return e,f,findComparisonValue(e,f) as pref