You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ja...@apache.org on 2026/09/02 19:06:16 UTC

(solr-orbit-workloads) branch main updated: Correct the upper bound of the nyc_taxis range operation (#18)

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

janhoy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-orbit-workloads.git


The following commit(s) were added to refs/heads/main by this push:
     new b52992e  Correct the upper bound of the nyc_taxis range operation (#18)
b52992e is described below

commit b52992ef00856bee8a33edf25cbb316a10e9ff3a
Author: Serhiy Bzhezytskyy <me...@serhiy-bzhezytskyy.com>
AuthorDate: Wed Sep 2 22:06:11 2026 +0300

    Correct the upper bound of the nyc_taxis range operation (#18)
    
    Co-authored-by: Claude Opus 5 (1M context) <no...@anthropic.com>
---
 nyc_taxis/README.md               | 2 +-
 nyc_taxis/operations/default.json | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/nyc_taxis/README.md b/nyc_taxis/README.md
index 0394b04..8e62e17 100644
--- a/nyc_taxis/README.md
+++ b/nyc_taxis/README.md
@@ -100,7 +100,7 @@ procedures above:
 | Operation | Query | Notes |
 |-----------|-------|-------|
 | `match-all` | `*:*` | Full-collection match |
-| `range` | `total_amount:[5 TO 15]` | Range filter on a float field |
+| `range` | `total_amount:[5 TO 15}` | Range filter on a float field. The upper bound is exclusive, matching the upstream `lt: 15` |
 | `distance_amount_facet` | `trip_distance:[0 TO 50]` + range facet | Range facet on `trip_distance` |
 | `date_histogram_facet` | Date range, `+1DAY` gap | Daily dropoff histogram (first 21 days of Jan 2015) |
 | `date_histogram_calendar_interval` | Date range, `+1MONTH` gap | Monthly histogram, calendar-aligned buckets |
diff --git a/nyc_taxis/operations/default.json b/nyc_taxis/operations/default.json
index 17043af..d561f25 100644
--- a/nyc_taxis/operations/default.json
+++ b/nyc_taxis/operations/default.json
@@ -32,7 +32,7 @@
     "name": "range",
     "operation-type": "search",
     "body": {
-      "query": "total_amount:[5 TO 15]"
+      "query": "total_amount:[5 TO 15}"
     }
   },
   {