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 "Michael Marth (JIRA)" <ji...@apache.org> on 2015/04/01 15:47:53 UTC

[jira] [Updated] (OAK-2547) "not equals" conditions should be passed to the index

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

Michael Marth updated OAK-2547:
-------------------------------
    Fix Version/s:     (was: 1.2)
                   1.4

> "not equals" conditions should be passed to the index
> -----------------------------------------------------
>
>                 Key: OAK-2547
>                 URL: https://issues.apache.org/jira/browse/OAK-2547
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Thomas Mueller
>            Priority: Minor
>             Fix For: 1.4
>
>
> With OAK-2529 fixed, conditions of the form "x <> 1" are passed to the index (via the filter condition) as "x is not null". This is sufficient if there are many distinct values for "x", but is bad if there are only few distinct values, and many nodes with value 1.
> Therefore, the "x <> 1" condition should be passed to the index directly. 
> The existing indexes will need to be changed to deal with this case (possibly including the property and ordered index), so that the correct result is returned, and so that the condition is actually used.



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