You can specify either a particular date or a date literal. A date literal is a fixed expression that represents a relative range of time, for example last month, this week, or next year.
- YYYY is the year.
- MM is the month.
- DD is the day of the month.
- hh is the hour of the day as on a 24-hour clock.
- mm is minutes.
- ss is seconds.
- Z is a literal Z character indicating that this string representation of the date is in UTC.
String literals for phrases can be enclosed in double quotes or single quotes. Java single character and \uXXXX-based escaping are supported within these literals.
Integer and decimal literals conform to the Java definitions.
Dates as any other literal can be expressed as a term or phrase. Dates are in the format ...... Any or all of the time can be truncated.
In range queries, strings, term, and phrases that do not parse to valid type instance for the property are treated as open ended.
test:integer[ 0 TO MAX] matches anything positive