It is some manual work,

find the two nodes

for the node with the fewer rels (b) to the node with more rels (a)
copy all properties from a to b
iterate over b's relationships and recreate them with a and the end node,
copy each relationship's properties

Done.

Michael




On Sat, Jun 28, 2014 at 2:10 PM, Awi <[email protected]> wrote:

>
> Ok ... Thank-you Michael ... We are using Java API.
>
>
>
> On Saturday, June 21, 2014 8:35:19 PM UTC+5:30, Michael Hunger wrote:
>
>> Unfortunately, you have to do it manually. Which API do you use?
>>
>> Am 19.06.2014 um 09:34 schrieb Awi <[email protected]>:
>>
>> In neo4j 2.0.3, can we merge 2 different nodes say node1 and node2, and
>> all the relations associated with node1 and node2 will be then associate to
>> the single merged node.
>>
>> 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.
>>
>>
>>  --
> 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.

Reply via email to