Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
DocValuesFieldExistsQuery & NormsFieldExistsQuery are efficient ways to determine if a doc has a value in a given field (assuming the field has docValues or norms respectively)
Since Solr's schema knows if/when these properties are true for a given field, we should be able to optimize some of the field:[* TO *] usecases to use these queries under the covers – notably in FieldType.getRangeQuery and subclasses that override it, but there may be other cases where they could come in handy as well
Attachments
Issue Links
- Is contained by
-
SOLR-11746 numeric fields need better error handling for prefix/wildcard syntax -- consider uniform support for "foo:* == foo:[* TO *]"
-
- Closed
-
- relates to
-
SOLR-12488 Rewrite exists field value query to leverage DocValuesFieldExistsQuery and NormsFieldExistsQuery
-
- Resolved
-