3.8 · Challenge

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 Full 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 Full 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.