You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2019/04/18 07:01:00 UTC
[jira] [Commented] (SOLR-11437) double open ended range queries
should be optimized to DocValuesFieldExistsQuery or NormsFieldExistsQuery
[ https://issues.apache.org/jira/browse/SOLR-11437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16820783#comment-16820783 ]
Uwe Schindler commented on SOLR-11437:
--------------------------------------
This should also be applied for {{field:*}} queries.
> 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
> Priority: Major
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org