Re: Query Optimisation

Vinayak Bali

Hi Marc, 

Yes, all the index are made available and no warning is thrown while executing the query. I tried debugging using profile step.  99% of time is taken by the union query. 

Thanks & Regards,

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

To be sure: we are dealing here with a large graph, so all V().has('property1', 'vertex...') steps do hit the index (no index log warnings)? For one, it would be interesting to see the output of the .profile() step.

My earlier suggestion did not make much sense as it limited the inV() step() not a full in() step.

Indeed, retrieving just about 50 vertices should return within a second.

Best wishes,   Marc

Join { to automatically receive all group messages.