You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jack Krupansky (JIRA)" <ji...@apache.org> on 2013/08/05 17:38:47 UTC
[jira] [Commented] (SOLR-5116) Rewrite field:* as if field:[* TO *]
so field type can optimize
[ https://issues.apache.org/jira/browse/SOLR-5116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13729577#comment-13729577 ]
Jack Krupansky commented on SOLR-5116:
--------------------------------------
Is that really going to be faster that doing the filter query that was discussed?
And... supposedly the filter query was going to be faster for the negative form, -field:*, at least that's what Uwe originally led me to believe.
> 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