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 "Jukka Zitting (JIRA)" <ji...@apache.org> on 2013/11/06 16:22:17 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=13814955#comment-13814955 ] 

Jukka Zitting commented on OAK-1150:
------------------------------------

Hmm, it does? AFAICT only the type names that are explicitly listed in the {{jcr:primaryType}} and {{jcr:mixinTypes}} properties are indexed, and the type hierarchy is evaluated only at query time.

> 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
>            Reporter: 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.1#6144)