Not sure what you mean by: I have a node label whose header in the csv is
called DESC with two values that for brevity are ... s and t .
If you have a CSV and you provide a label for both left node and right node
then probably something like this:
MATCH (LEFT_NODE:#{LEFT_LABEL} {LC_ID:{LEFT_NODE_ID}}), (
RIGHT_NODE:#{RIGHT_LABEL} {LC_ID:{RIGHT_NODE}})
If your label is fixed, eg. ":Document" then you can use it directly.
Michael
On Fri, Dec 5, 2014 at 2:34 AM, José F. Morales <[email protected]> wrote:
> in your MATCH you _must_ provide the label then.
>>
>>>
>>> MATCH (LEFT_NODE:LABEL1 {LC_ID:{LEFT_NODE}}), (RIGHT_NODE:LABEL2 {LC_ID
>>> :{RIGHT_NODE}})
>>> ..
>>>
>>
>> I have a node label whose header in the csv is called DESC with two
>> values that for brevity are ... s and t .
>> Do you mean I should write... MATCH (LEFT_NODE:s {LC_ID:{LEFT_NODE}}), (
>> RIGHT_NODE:t {LC_ID:{RIGHT_NODE}}) OR MATCH (LEFT_NODE:DESC {LC_ID:{
>> LEFT_NODE}}), (RIGHT_NODE:DESC {LC_ID:{RIGHT_NODE}})?
>>
>
> I suspect its the first option.
>
> Jose
>
> --
> 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.
>
--
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.