You can just try it in an example db

Yes, it could even have tens of thousands of relationships.



On Mon, Aug 28, 2017 at 4:52 PM, Pawan Wagh <[email protected]> wrote:

> Hi Michael, are you sure about this.I mean the node's which may be merging
> could have hundreds of relationships in & out.Sorry to bother but i am not
> able to figure this out.
>
> On Aug 24, 2017 1:24 PM, "'Michael Hunger' via Neo4j" <
> [email protected]> wrote:
>
> That will happen automatically.
>
> On Thu, Aug 24, 2017 at 6:08 AM, Pawan Wagh <[email protected]> wrote:
>
>>
>> Thanks for your suggestion. But what about redirecting all relationships
>> of two nodes into that one node.
>>
>>
>> On Thursday, August 24, 2017 at 5:39:29 AM UTC+5:30, Michael Hunger wrote:
>>>
>>> You can use the apoc procedures with apoc.refactor.mergeNode([nodes])
>>>
>>> https://neo4j-contrib.github.io/neo4j-apoc-procedures/#_grap
>>> h_refactoring_2
>>>
>>> Michael
>>>
>>> On Wed, Aug 23, 2017 at 4:22 PM, Pawan Wagh <[email protected]> wrote:
>>>
>>>> Hii,
>>>>      My current project runs on neo4j and mongodb as database servers.
>>>> We are having multiple nodes for single user with multiple bi-directional
>>>> relations. Now the situation is user can request to claim his profile in
>>>> which i need to merge all available nodes of user into one node with all
>>>> existing relations to & from that newly generated node. Label for relations
>>>> may or may not be known so is there any way of merging multiple nodes into
>>>> one without knowledge of their relations.Please help or any suggestion on
>>>> how to achieve this are most welcome.
>>>>
>>>> neo4j version : 3.1.1
>>>> backend : nodejs
>>>> framework : loopback ( strongloop )
>>>>
>>>> --
>>>> 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 a topic in the
> Google Groups "Neo4j" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/to
> pic/neo4j/ux0PjQge4tY/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.
>

-- 
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