Hoss Man created SOLR-11437:
-------------------------------

             Summary: double open ended range queries should be optimized to 
DocValuesFieldExistsQuery or NormsFieldExistsQuery
                 Key: SOLR-11437
                 URL: https://issues.apache.org/jira/browse/SOLR-11437
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Hoss Man


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




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to