Skip to content

Could not find a suitable index to answer graph query and graph scans are disabled #3973

Discussion options

You must be logged in to vote

The error messages sound to me simply like the index is already ENABLED so there is no need to call awaitGraphIndexStatus on it. You can verify this by executing management.printIndexes().

Could not find a suitable index to answer graph query and graph scans are disabled:

You are getting this error for the traversal in read_data(), right? I just tried to reproduce your scenario and ran into the same problem. It looks like the mixed index is not used when it is created for multiple property keys (p_uuid and company_name in your case), but only one property key is used in the traversal and no search predicate is used.
So, the index is used if both property keys are used or if a search pre…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@FlorianHockmann
Comment options

Answer selected by FlorianHockmann
Comment options

You must be logged in to vote
2 replies
@FlorianHockmann
Comment options

@sharma-kunal
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants