Support composite indexes #2660
Labels
area/performance
Performance related issues.
kind/feature
Something completely new we should consider.
popular
priority/P2
Somehow important but would not block a release.
status/accepted
We accept to investigate/work on it.
Milestone
Unless I missed some key information, it is not possible to create composite indexes in Dgraph. Supporting this feature would help some use-cases requiring filtering on multiple attributes of a tag.
Typical example of such feature would be a versioned graph, in which a node is associated with a name, a version number and some random parameters.
In that case, most queries would be a combination of a name, and a specific version number, range queries or simply the highest version to get fresh data.
With single-attribute indexes, the performance when the number of versions is high is hindered significantly compared to that of i.e. JanusGraph, which has this feature.
The text was updated successfully, but these errors were encountered: