Commit 8f23e0b
Support negation and decimal literals in OData filter queries (#28)
Adds handling for "not <field> <op> <value>" expressions, which OData
parses as "(not <field>) <op> <value>", by wrapping the underlying
comparison in a MUST_NOT boolean clause. Also adds decimal literal
support and switches float range queries to double ranges to match
how numeric fields are indexed. Introduces an xUnit test project
covering the visitor and LuceneNetIndexSearcher.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>1 parent b472288 commit 8f23e0b
6 files changed
Lines changed: 1856 additions & 5 deletions
File tree
- AzureSearchEmulator.UnitTests
- AzureSearchEmulator/Searching
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments