You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MATCH (r:MyNodeType)
WHERE r.name IN [ name1, name2, name3 ]
WITH collect(r) as nodeList
CALL particlefiltering.unlabelled(nodeList, 0, 1000) YIELD nodeId, score
WITH nodeId, score MATCH (r:MyNodeType) WHERE ID(r) = nodeId
RETURN r, score
ORDER BY score DESC
LIMIT 100
Ideally we should be able to run directly
MATCH (r:MyNodeType)
WHERE r.name IN [ name1, name2, name3 ]
WITH collect(r) as nodeList
CALL particlefiltering.unlabelled(nodeList, 0, 1000) YIELD r, score
RETURN r, score
ORDER BY score DESC
LIMIT 100
so that for instance I can directly return something more meaningful, e.g.,
...
RETURN r.name, r.price, score
ORDER BY score DESC
LIMIT 100
kuzeko
changed the title
Output method
Output method to return directly nodes
Apr 7, 2021
Currently the method outputs nodeIds.
Can we have the method output nodes directly?
The text was updated successfully, but these errors were encountered: