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:40 UTC

(couchdb) branch nouveau-range-doc-1 created (now 568c99ea5)

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

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


      at 568c99ea5 Nouveau uses the normal lucene syntax for unbounded range

This branch includes the following new commits:

     new 568c99ea5 Nouveau uses the normal lucene syntax for unbounded range

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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

Posted by rn...@apache.org.
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:*