What are indices, are those Vertices ?
# nebula-users
g
What are indices, are those Vertices ?
k
node ids, from`Return id(v)`
g
Ok, so those are actually VertexID-s
k
so something simple like
MATCH (v:Post) return v(id) LIMIT 5000000
takes 5 mins for me on SNB SF100
g
Did you tried using Nebula native query language ? Did you tried creating index for TAG which is used for v:Post ?
❤️ 1
k
i haven't, will try these, thanks!
w
Yes, as Goran suggested, after creating an index on TAG: Post, you could do
LOOKUP ON Post YIELD id(vertex) | LIMIT 5000000
About index, please refer to docs also, i had a blog on this, too: https://siwei.io/en/nebula-index-explained/