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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2016/10/18 10:09:58 UTC

[jira] [Commented] (OAK-1150) NodeType index: don't index all primary and mixin types

    [ https://issues.apache.org/jira/browse/OAK-1150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15585081#comment-15585081 ] 

Davide Giannella commented on OAK-1150:
---------------------------------------

I think we should leave outside of any default set-up anything that is not oak. So the {{sling}}, {{cq}}, ... namespaces should be left out of any oak code.

I didn't check recently but I think we have queries against some {{rep:}} think as part of Oak, so would index them.

> NodeType index: don't index all primary and mixin types
> -------------------------------------------------------
>
>                 Key: OAK-1150
>                 URL: https://issues.apache.org/jira/browse/OAK-1150
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>
> Currently, the nodetype index indexes all primary types and mixin types (including nt:base I think).
> This results in many nodes in this index, which unnecessarily increases the repository size, but doesn't really help executing queries (running a query to get all nt:base nodes doesn't benefit much from using the nodetype index).
> It should also help reduce writes in updating the index, for example for OAK-1099



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