[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to