Skip to content

Why index is not applied? #3619

Answered by porunov
vitaliishandra asked this question in Q&A
Feb 24, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

In your second query you are filtering by uid, but your byUid 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

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@vitaliishandra
Comment options

@vitaliishandra
Comment options

@porunov
Comment options

Answer selected by vitaliishandra
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