You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2013/08/05 17:08:48 UTC

[jira] [Created] (SOLR-5116) Rewrite field:* as if field:[* TO *] so field type can optimize

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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org