[ https://issues.apache.org/jira/browse/OAK-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13833783#comment-13833783 ]
Thomas Mueller commented on OAK-1108: ------------------------------------- OK, I didn't think about the multi-valued property case... Fixed in revision 1546026 Right now just the equality case (for "x=1 and x=2", only "x=1" is used). I wonder whether this should also apply to ranges, I mean what is the expected behavior for "x>2 and x<1" if there is a multi-valued property with values {0, 3}? > Query constraints marked as invalid in the case of an mvp > --------------------------------------------------------- > > Key: OAK-1108 > URL: https://issues.apache.org/jira/browse/OAK-1108 > Project: Jackrabbit Oak > Issue Type: Bug > Components: core, query > Reporter: Alex Parvulescu > Assignee: Thomas Mueller > Fix For: 0.13 > > Attachments: OAK-1108-test.patch > > > It seems that in the case of a query that has more constraints on the same > property, like > bq. //*[(@prop = 'aaa' and @prop = 'bbb' and @prop = 'ccc')] > the filter is marked as invalid (_#isAlwaysFalse_) and the query returns no > results. > This is incorrect and affects queries that search for multi-valued properties > on nodes. > This comes from/affects OAK-1075. -- This message was sent by Atlassian JIRA (v6.1#6144)