Hi Ratul,

If you don't mind send me the Cypher script that you used to create it. I
keep the info confidential.

My design of keeping the route number as the root node should work. I can
try with your data and let you know.

Thanks,
-Kamal

On Wed, Jun 14, 2017 at 12:36 AM, Ratul Jain <[email protected]>
wrote:

>
>
> 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 a topic in the
> Google Groups "Neo4j" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/neo4j/_xNewWFaxOU/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