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 2015/05/06 11:45:00 UTC

[jira] [Created] (OAK-2839) Without "counter" index, some queries use traversal instead of an index

Thomas Mueller created OAK-2839:
-----------------------------------

             Summary: Without "counter" index, some queries use traversal instead of an index
                 Key: OAK-2839
                 URL: https://issues.apache.org/jira/browse/OAK-2839
             Project: Jackrabbit Oak
          Issue Type: Improvement
            Reporter: Thomas Mueller
            Assignee: Thomas Mueller
             Fix For: 1.3.0


The "counter" index maintains an approximate node counter. 

If this index is available, for some queries that contain a path restriction, traversing is sometimes faster than using the index.

If the index is not available, typically traversal should not be used. However, it looks like for some reason traversal is used for some queries (I need to investigate in what cases exactly, and why). This need to be fixed.



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