David Smiley created SOLR-5116:
----------------------------------

             Summary: Rewrite field:* as if field:[* TO *] so field type can 
optimize
                 Key: SOLR-5116
                 URL: https://issues.apache.org/jira/browse/SOLR-5116
             Project: Solr
          Issue Type: Improvement
          Components: query parsers
            Reporter: David Smiley


The queries {{field:*}} and {{field:[* TO *]}} are semantically equivalent but 
the latter is potentially must faster since the field type can intercept it to 
return a more optimal implementation than a brute force scan of the terms.  The 
trie numeric fields do this.  The spatial ones don't but they could be 
rewritten easily to do so.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to