diff --git a/docs/queryparsersyntax.html b/docs/queryparsersyntax.html index 3cc44afb1b1..24d0b5076ab 100644 --- a/docs/queryparsersyntax.html +++ b/docs/queryparsersyntax.html @@ -135,7 +135,7 @@
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 are inclusive (i.e. the query includes the specified lower and upper bound). + Range Queries can be inclusive or exclusive of the upper and lower bounds. Sorting is done lexicographically.
-@@ -430,7 +430,7 @@
This will find documents whose mod_date fields have values between 20020101 and 20030101. +
This will find documents whose mod_date fields have values between 20020101 and 20030101, inclusive. Note that Range Queries are not reserved for date fields. You could also use range queries with non-date fields:
-@@ -441,7 +441,7 @@
- + title:[Aida TO Carmen] title:{Aida TO Carmen}@@ -451,7 +451,9 @@ This will find all documents whose titles are between Aida and Carmen.
+This will find all documents whose titles are between Aida and Carmen, but not including Aida and Carmen.
+Inclusive range queries are denoted by square brackets. Exclusive range queries are denoted by + curly brackets.
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 are inclusive (i.e. the query includes the specified lower and upper bound). + Range Queries can be inclusive or exclusive of the upper and lower bounds. Sorting is done lexicographically.
-This will find documents whose mod_date fields have values between 20020101 and 20030101. +
This will find documents whose mod_date fields have values between 20020101 and 20030101, inclusive. Note that Range Queries are not reserved for date fields. You could also use range queries with non-date fields:
- -This will find all documents whose titles are between Aida and Carmen.
+ +This will find all documents whose titles are between Aida and Carmen, but not including Aida and Carmen.
+Inclusive range queries are denoted by square brackets. Exclusive range queries are denoted by + curly brackets.