Indexing vertex or edge labels #1136
-
Hi all again, According to the syntax of
From my experiments, Gremlin versions seem quite fast (10ms on my laptop, with a few thousand element database), Cypher queries are quite slow (1s). By the way, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, we don't use indexes for labels, but rather use physical separated files to store them. This is much more efficient than using indexes. The issue with the contains is that the optimizer doesn't resolve as a fetch from type like the one above. |
Beta Was this translation helpful? Give feedback.
Hi, we don't use indexes for labels, but rather use physical separated files to store them. This is much more efficient than using indexes. The issue with the contains is that the optimizer doesn't resolve as a fetch from type like the one above.