Hi folks!

so, today I was experimenting on obtaining a linear combination out of 
multiple types of properties.
Suppose you have multiple REL types, each with weighted properties.

I am trying to obtain a collection? of first neighbors to a node, ordered 
by the sum of two weights.

Here's what i've done:

MATCH (n:TYPE)
WHERE n.id = 'hellyeah'
OPTIONAL MATCH n-[r:P]-m
OPTIONAL MATCH n-[s:P2]-m
RETURN n,r,s,m

with this query, i get a table BUT all values of s are set as
NULL 
could you help me understand 
why?

thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to