[
https://issues.apache.org/jira/browse/OAK-2547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Mueller resolved OAK-2547.
---------------------------------
Resolution: Won't Fix
I currently don't think this is an important issue.
> "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)