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/15 17:15:16 UTC
[jira] [Created] (OAK-824) Query engine: automatic expansion of
"x=1 or x=2" to "(x is not null) and (x=1 or x=2)"
Thomas Mueller created OAK-824:
----------------------------------
Summary: 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