SUPPORT

Range Searches

Created by: Anna Makhova

Modified on: Tue, 20 Feb, 2018 at 4:39 PM

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 ‘]’.