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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/10/23 11:37:41 UTC

[jira] [Updated] (OAK-1108) Query constraints marked as invalid in the case of an mvp

     [ https://issues.apache.org/jira/browse/OAK-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu updated OAK-1108:
---------------------------------

    Attachment: OAK-1108-test.patch

attaching a failing test case (marked as ignored).

the patch contains a few changes needed to surface the filter creation code.
This is badly needed, it simplifies some filter related tests that are impossible to build right now.

If there are no objections I'll push the changes in soon.


> 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
>         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)