Depending on selectivity Lookup by x or y from index Check the other props and rels You might also lookup columbus and check >From node to columbus
It is a local traversal then should be fast Sent from mobile device Am 24.06.2014 um 03:51 schrieb Clark Richey <[email protected]>: > All, > I am writing server side extensions to neo4J. I need to be able to find nodes > that match a graph pattern similar to: > > node has property x=foo and y= bar and outgoing relationship of type address > to node with city=columbus. That could even extend another node out. I know I > can find one end of the above relationship and then filter but this doesn’t > work well when the pattern I want to match is more like node a -> node b -> > node c with various property lookups on each node. > > This is also a large graph so starting at any given node could easily yield a > million nodes from which to start a traversal. > > Thanks for the help! > > -------------------- > Clark Richey, CTO > FactGem > 240-252-7507 > [email protected] > > > > > Need immediate assistance? Please try: > > Cate Downing, Assistant Beth Price, Assistant > [email protected] [email protected] > 614.325.2404 614.365.0740 > > This message and any included attachments are property of FactGem and its > affiliates, and are intended only for the addressee(s). The information > contained herein may include trade secrets or privileged or otherwise > confidential information. Unauthorized review, forwarding, printing, copying, > distributing, or using such information is strictly prohibited and may be > unlawful. If you received this message in error, or have reason to believe > you are not authorized to receive it, please promptly delete this message and > notify the sender by e-mail. 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. > <DB3DED71-9092-4039-BC47-7254B572F9D5> -- 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.
