Many thanks, Michael.  Can I use the same approach to re-label a
relationship?

     Match (r:IsValueHas)
     Set r:IsPartHas
     Remove r:IsValueHas

Regards.

John O'

On Fri, Feb 5, 2016 at 3:55 AM, Michael Hunger <
[email protected]> wrote:

> How did you load them?
>
> Match (n:GenericLabel)
> Where exist(n.foo)
> Set n:Foo
> Remove n:GenericLabel
>
> Von meinem iPhone gesendet
>
> Am 04.02.2016 um 22:22 schrieb John O'Gorman <[email protected]>:
>
> Hi all
>
> In the past I loaded different node classes via individual csv files
> (class1.csv, class2.csv etc.)
>
> Now, since all of initial properties are the same, I want to bulk  load
> (via cvs) about 50K nodes with n:GenericNode label and properties n.string,
> n.class etc.
>
> Then would then like to replace the n:GenericNode label with the value of
> n.class for that node.
>
> Is there a way to do this?
>
> Thanks.
>
> --
> 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 a topic in the
> Google Groups "Neo4j" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/neo4j/xOEjNdLGYN8/unsubscribe.
> To unsubscribe from this group and all its topics, 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.

Reply via email to