3.1 · Video Lesson

Indexes in Neo4j

An index in Neo4j is a data structure that allows the graph engine to retrieve data quickly. All indexes in Neo4j require more storage in the graph, so you must ensure that you do not index everything!

You learned in the previous module that a best practice is to create uniqueness constraints before you load your data. After the data is loaded, you create additional indexes to make your queries perform faster. Using indexes makes writing data slower, but retrieving it faster.