Why index is not applied? #3619
Answered
by
porunov
vitaliishandra
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
porunov
Feb 24, 2023
Replies: 1 comment 3 replies
-
In your second query you are filtering by Also, graph indices are not applied after you are traversing from the initial filtered result. Vertex centric indices can be used to filter connected edges in traversals when necessary, but in your case it won't help because you are filtering by adjacent vertices and not edges. To filter result by adjacent vertex properties you may be interested in the next feature, but it's not implemented yet: #2287 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
vitaliishandra
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In your second query you are filtering by
uid
, but yourbyUid
index is disabled. You need to enable index first before it can be used.Also, graph indices are not applied after you are traversing from the initial filtered result.
Vertex centric indices can be used to filter connected edges in traversals when necessary, but in your case it won't help because you are filtering by adjacent vertices and not edges.
To filter result by adjacent vertex properties you may be interested in the next feature, but it's not implemented yet: #2287