Re: Query Optimisation

Vinayak Bali

Hi Marc,

That works as expected. Union also works as expected as in Query1 but when I add limit to all edge the performance degrades. 


On Sat, 8 May 2021, 8:16 pm , <hadoopmarc@...> wrote:
Hi Vinayak,

What happens with a single clause, so without the union:

g.V().has('property1', 'vertex3').outE().has('property1', 'edge3').inV().has('property1', 'vertex2').limit(100).path().toList()

Best wishes,    Marc

Join { to automatically receive all group messages.