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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2015/09/10 19:16:47 UTC

[jira] [Comment Edited] (OAK-3371) Wrong evaluation of NOT clause

    [ https://issues.apache.org/jira/browse/OAK-3371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14739070#comment-14739070 ] 

Davide Giannella edited comment on OAK-3371 at 9/10/15 5:16 PM:
----------------------------------------------------------------

[~chetanm], [~tmueller]: was carrying out some more tests and the
above patch while works with lucene property index, does not work with
lucene aggregate v1. If you want to give a preliminary overview it's
welcome but I'll submit a new one.



was (Author: edivad):
[~chetanm], [~tmueller]: was carrying out some more tests and the
above patch while works with lucene property index, does not work with
lucene aggregate. If you want to give a preliminary overview it's
welcome but I'll submit a new one.


> Wrong evaluation of NOT clause
> ------------------------------
>
>                 Key: OAK-3371
>                 URL: https://issues.apache.org/jira/browse/OAK-3371
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>    Affects Versions: 1.2.4, 1.3.5
>            Reporter: Davide Giannella
>            Assignee: Davide Giannella
>             Fix For: 1.3.6
>
>         Attachments: OAK-3371-test.diff, OAK-3371.patch
>
>
> When executing a query like 
> {noformat}
> SELECT * FROM [nt:unstructured] WHERE ISDESCENDANTNODE([/test]) AND NOT CONTAINS(foo, 'bar')
> {noformat}
> and the {{nodeType}} index plays the not clause is not applied properly. Nodes **with** the property are returned as well.
> [test|^OAK-3371-test.diff] showing the bug.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)