You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (JIRA)" <ji...@apache.org> on 2013/05/16 15:21:16 UTC
[jira] [Resolved] (OAK-824) Query engine: automatic expansion of
"x=1 or x=2" to "(x is not null) and (x=1 or x=2)"
[ https://issues.apache.org/jira/browse/OAK-824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Mueller resolved OAK-824.
--------------------------------
Resolution: Fixed
> Query engine: automatic expansion of "x=1 or x=2" to "(x is not null) and (x=1 or x=2)"
> ---------------------------------------------------------------------------------------
>
> Key: OAK-824
> URL: https://issues.apache.org/jira/browse/OAK-824
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, query
> Reporter: Thomas Mueller
> Assignee: Thomas Mueller
>
> Queries with conditions of the type "x=1 or x=2" currently don't use an index. An index (on property existance) could be used if the condition is automatically expanded to "(x is not null) and (x=1 or x=2)". This should be relatively easy to implement in the query engine (I hope).
--
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