You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by rn...@apache.org on 2024/10/02 14:16:41 UTC

(couchdb) 01/01: Nouveau uses the normal lucene syntax for unbounded range

This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a commit to branch nouveau-range-doc-1
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit 568c99ea5c6d2e9fa0575874b2740efdf2df82ae
Author: Robert Newson <rn...@apache.org>
AuthorDate: Wed Oct 2 15:16:20 2024 +0100

    Nouveau uses the normal lucene syntax for unbounded range
---
 src/docs/src/ddocs/nouveau.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/docs/src/ddocs/nouveau.rst b/src/docs/src/ddocs/nouveau.rst
index a617d27f2..b99b769ea 100644
--- a/src/docs/src/ddocs/nouveau.rst
+++ b/src/docs/src/ddocs/nouveau.rst
@@ -543,12 +543,12 @@ they use the default field, as demonstrated in the following examples:
 .. code-block:: text
 
     // Herbivores that are 2m long or less
-    diet:herbivore AND min_length:[-Infinity TO 2]
+    diet:herbivore AND min_length:[* TO 2]
 
 .. code-block:: text
 
     // Mammals that are at least 1.5m long
-    class:mammal AND min_length:[1.5 TO Infinity]
+    class:mammal AND min_length:[1.5 TO *]
 
 .. code-block:: text
 
@@ -708,7 +708,7 @@ brackets (``[``, ``]``). Exclusive range queries are denoted by curly brackets (
 
 .. code-block:: text
 
-    ?q=*:*&ranges={"price":{"cheap":"[0 TO 100]","expensive":"{100 TO Infinity}"}}
+    ?q=*:*&ranges={"price":{"cheap":"[0 TO 100]","expensive":"{100 TO *}"}}
 
 *Example results after a ranges check on a faceted search:*