Cypher

index

A structure over a propertyA named value stored on a node or a relationship.. The database reads it to find nodesA vertex in a graph. In a property graph it can carry labels and properties. or relationshipsA named, directed connection between two nodes. Every relationship has a type, a start node and an end node. by property value, rather than scanning every one.

Also written: indexes

Example

An index over the title property of every (:Movie).

cypher
CREATE INDEX Movie_title IF NOT EXISTS
FOR (m:Movie) ON (m.title)

MATCH (m:Movie {title: 'Toy Story'}) reads the index and goes straight to that node. Without the index, the database reads the title of every (:Movie) in the graph to find it.

Lessons that use this term

The lesson and course links below open in a new tab.

110 lessons use this term. The 40 with the highest term density are listed here.

Importing Data Fundamentals33 mentions

Importing Data into Neo4j Workshop25 mentions

  • Unique IDs and ConstraintsImport in Neo4j Consolethis lesson, you will explore how IDs, constraints, and indexes affect an24 mentions

Cypher Indexes and Constraints358 mentions

Introduction to Vector Indexes and Unstructured Data30 mentions

Full-Text Search in Neo4j35 mentions

  • Why Full-Text IndexesFull-Text Searchyou need to find a node by an exact property value, a standard property index handles it21 mentions
  • Create and Query a Full-Text IndexFull-Text Searchthis challenge, you will create a full-text index and use it to search for8 mentions
  • Search with OperatorsFull-Text SearchmovieSearch index you created in the first challenge covers both title and4 mentions

Importing CSV data into Neo4j5 mentions

  • Congratulations and Next StepsImporting data considerationsFree online training for Neo4j Cypher Indexes and Constraints - Make your graph more performant4 mentions

Intermediate Cypher Queries15 mentions

  • Testing StringsFiltering Queriessuch as toUpper() or toLower(), the query engine turns off the use of the index9 mentions

Cypher Aggregations6 mentions

  • Calculating Min/Max ValuesAggregating Functionsthe property that you are comparing with min() or max() has an index on it, the index is used to return the value which is very5 mentions

Neo4j Management, Optimization, and Refactoring Workshop27 mentions

  • IndexesQuery Performanceare a powerful tool for improving query12 mentions
  • Query Good PracticeQuery PerformanceUse of indexes Anchor nodes Count stores Using WITH to break down complex queries Reading properties3 mentions
  • InvestigateQuery Performancesearching for categoryName on the Category nodes, you can also create an index on that2 mentions
  • Normalizing a property to a nodeGraph refactoringa constraint will also create an index on the same label and6 mentions

Working with Dates and Durations9 mentions

Aura In Production28 mentions

Modeling and Importing Data into Neo4j Workshop13 mentions

Using Neo4j with LangChain9 mentions

  • Vector SearchVectorsthis lesson, you will learn how to use vectors indexes with LangChain to perform vector5 mentions
  • Neo4jGraphNeo4j and LangChainNodes: Movie: Has indexes on year, imdbRating, released, imdbId, title, and4 mentions

Introduction to Graph Databases Workshop4 mentions

  • Thinking in GraphsGraph Databasesquerying across tables, the joins are computed at read-time, using an index to find the corresponding rows in the target4 mentions

Zero to Production Hands-On Workshop4 mentions

  • Thinking in GraphsGraph Databasesquerying across tables, the joins are computed at read-time, using an index to find the corresponding rows in the target4 mentions

All glossary terms