jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Jain (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-1752) Node name queries should use an index
Date Tue, 01 Sep 2015 05:58:46 GMT

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

Amit Jain updated OAK-1752:
---------------------------
    Fix Version/s:     (was: 1.3.6)
                   1.3.7

> Node name queries should use an index
> -------------------------------------
>
>                 Key: OAK-1752
>                 URL: https://issues.apache.org/jira/browse/OAK-1752
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: query
>            Reporter: Alex Parvulescu
>            Assignee: Chetan Mehrotra
>              Labels: performance
>             Fix For: 1.3.7
>
>         Attachments: OAK-1752.patch
>
>
> The node name queries don't use any index currently, making them really slow and triggering
a lot of traversal warnings.
> Simply adding node names to a property index would be too much content indexed, but as
Lucene already indexes the node names, using this index would be one viable option.
> {code}
> /jcr:root//*[fn:name() = 'jcr:content']
> /jcr:root//*[jcr:like(fn:name(), 'jcr:con%')] 
> {code}



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

Mime
View raw message