On Wednesday, June 14, 2017 at 1:00:41 AM UTC+5:30, Kamal Murthy wrote:
>
> ~snip
>>
>
Hi Kamal,

Thank you so much for taking your time to answer my query. 

My initial model was kind of similar but this design doesn't scale well. At 
some point I had multiple [:TO] relationships between various stops and 
that is when the query started to become really slow.

This is the screenshot of my previous model.

<https://lh3.googleusercontent.com/-GR2MxCM1CLs/WUDnBa_TCAI/AAAAAAAACH4/u7q240cyUVI_xqXHtq2aPjsgeYHHzwRVACLcBGAs/s1600/Screen%2BShot%2B2017-06-13%2Bat%2B1.12.58%2BPM.png>

That's the main reason the routes are denoted as an array property rather 
than their own relationship.

Thanks,
Ratul

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