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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2013/05/13 15:25:16 UTC

[jira] [Created] (OAK-816) Property index: restrictions of the type "x > 10" can be processed as "x is not null"

Thomas Mueller created OAK-816:
----------------------------------

             Summary: Property index: restrictions of the type "x > 10" can be processed as "x is not null"
                 Key: OAK-816
                 URL: https://issues.apache.org/jira/browse/OAK-816
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core, query
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller
            Priority: Minor


The property index is currently used for matches ("x = 123") as well as for existence restrictions ("x is not null").

Because index data is not sorted, a property index can not be used very efficiently for range restrictions ("x > 100"; "x between 10 and 20"). However, for such cases, the index can still be used to check existence. In many cases this is still much better than traversing all nodes. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira