Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
8.5
-
None
Description
"exists" queries ([* TO *]) on DateRange fields return 0 results regardless of docs in the index with values in that field.
The issue appears to be that the query is converted into a NormsFieldExistsQuery, even though DateRangeField uses omitNorms=true by default. Probably introduced by SOLR-11746's changes to these optimizable range queries.
I've attached a script to reproduce the issue (tested on Solr 8.6.2) and screenshots showing showing schema and query-parsing info for the reproduction.
Attachments
Attachments
Issue Links
- causes
-
SOLR-15333 Solr-demo in docker uses improper configuration for SpatialRecursivePrefixTreeFieldType
- Closed
- is caused by
-
SOLR-11746 numeric fields need better error handling for prefix/wildcard syntax -- consider uniform support for "foo:* == foo:[* TO *]"
- Closed