›Searching by Date Range
1.5 · Lesson
Searching by Date Range
You now know how to create dates, truncate them, and compute durations. In this lesson you will combine these techniques to build date range searches —the kind of query that powers "find movies released within N years of X."
When a date iFull definition for property (opens in a new tab)A named value stored on a node or a relationship. has a range index, Neo4j can use that index to speed up comparisons like >=, <=, and chained ranges. But this only works when you compare date values against date values.
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