Files
Paul Faure 4b7349037f feat(kql): support numeric range queries (>=, <=, >, <)
Add NumericRestrictionNode to the KQL PEG grammar so that range
operators work with numeric values, not just DateTimes. This enables
queries like `size>=1048576`, `photo.iso>=100`, `photo.fNumber>=2.8`,
and `photo.focalLength<50`.

Changes:
- ast: add NumericNode with Key, Operator, Value (float64)
- kql/dictionary.peg: add NumericRestrictionNode and Number rules
- kql/factory.go: add buildNumericNode()
- kql/cast.go: add toFloat64()
- bleve/compiler.go: compile NumericNode to NumericRangeQuery

Fixes: #12093

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 23:51:08 -05:00
..
2022-05-04 14:49:59 +02:00
2022-09-14 12:22:23 +02:00
2022-05-04 14:49:59 +02:00
2022-05-04 14:49:59 +02:00
2025-04-30 12:04:03 +02:00
2025-04-01 14:49:08 +02:00
2024-08-19 14:20:20 +02:00
2025-04-30 12:04:03 +02:00
2026-02-10 16:27:52 +01:00
2025-03-05 11:14:44 +01:00
2024-10-28 14:47:11 +01:00