Using a TEXT index
The database used for this course does not have the type of data that will benefit from a TEXT index. A TEXT index performs better than a RANGE index when the iFull definition for property (opens in a new tab)A named value stored on a node or a relationship. being indexed contains a lot of duplicate values.
Let's temporarily create some string properties in the graph that will contain many duplicates.
You will add a ratingValue property to all RATED iFull definition for relationship (opens in a new tab)A named, directed connection between two nodes. Every relationship has a type, a start node and an end node. where the value is the concatenation of the user name, rating, and year of the movie.
Join GraphAcademy to keep learning
Create your account to unlock 80+ hours of hands-on Neo4j courses, track your progress, and earn a certificate when you complete the course.
Sign in or register