Build your own knowledge graph database
Label & property indexes·2 min

Index trade-offs

0 / 1

You've built a label index, a property index, and index-free adjacency. They have different jobs. Make sure you can say which structure does which half of a query.

Knowledge check

For MATCH (bacon:Person {name:'Kevin Bacon'})-[:ACTED_IN]->(m), which structure does each half use?