Without a query it’s hard to help you on this... Often, I tell people to start with a match of what you know exists, and then do an optional match for what you’re not sure exists, like:
match (p:Person) // we want to get all Person nodes optional match (p)-[:FOLLOWS]->(maybe:Person) return p.name, maybe.name This way, you give the engine some help with the starting point. Does this help? Eve On Thu, Apr 12, 2018 at 3:42 AM Marwa Elabri <marwaela...@gmail.com> wrote: > Hello > > please are there another clause that replace optional match in cypher > query language > because I want to get null value from my neo4j database but when I use > *optional > mach* with a huge database the request execution takes a lot of time ???? > > Thank you in advance > > -- > 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 neo4j+unsubscr...@googlegroups.com. > 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 neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.