Jukka Zitting created OAK-1965:
----------------------------------

             Summary: 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


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)

Reply via email to