Range Queries allow one to match documents whose field(s) values are between the lower and upper bound specified by the Range Query. Range Queries can be inclusive or exclusive of the upper and lower bounds. Sorting is done lexicographically.

date:[2002-01-01 TO 2003-01-01]

This will find documents whose date fields have values between 2002-01-01 and 2003-01-01, inclusive. To perform a Range Qearch and exclude the upper and lower bound, user ‘{‘ and ‘}‘ instead of ‘[‘ and ‘]’.

You could also use range queries with text fields.