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 "Jukka Zitting (JIRA)" <ji...@apache.org> on 2014/07/17 16:21:04 UTC
[jira] [Resolved] (OAK-1965) Support for constraints like: foo =
'X' OR bar = 'Y'
[ https://issues.apache.org/jira/browse/OAK-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting resolved OAK-1965.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.1
Implemented in a sequence of commits leading up to revision 1611359.
> Support for constraints like: foo = 'X' OR bar = 'Y'
> ----------------------------------------------------
>
> Key: OAK-1965
> URL: https://issues.apache.org/jira/browse/OAK-1965
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core, query
> Reporter: Jukka Zitting
> Assignee: Jukka Zitting
> Fix For: 1.1
>
>
> Consider the following query statement:
> {noformat}
> SELECT * FROM [nt:base] WHERE [foo] = 'X OR [bar] = 'Y'
> {noformat}
> Such a query could be fairly efficiently executed against a property index that indexes the values of both "foo" and "bar" properties. However, the query engine doesn't pass such OR constraints down to the index implementations, so we currently can't leverage such an index for this query.
--
This message was sent by Atlassian JIRA
(v6.2#6252)