[
https://issues.apache.org/jira/browse/OAK-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas Mueller resolved OAK-2839.
---------------------------------
Resolution: Duplicate
> 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
> Components: query
> Affects Versions: 1.2.2
> 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)