jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3213) Speed up NodeIndexer.isIndexed() check
Date Tue, 07 Feb 2012 10:15:00 GMT

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

Jukka Zitting commented on JCR-3213:
------------------------------------

It looks like the code could be simplified by moving the isIndexed conditional right up to
the createDoc() method. The only complication seems to be the handling of jcr:primaryType
and jcr:mixinTypes properties, but I think we can cover that by making the isIndexed() method
always return true for those names.
                
> Speed up NodeIndexer.isIndexed() check
> --------------------------------------
>
>                 Key: JCR-3213
>                 URL: https://issues.apache.org/jira/browse/JCR-3213
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: indexing
>            Reporter: Alex Parvulescu
>            Priority: Minor
>             Fix For: 2.5
>
>         Attachments: JCR-3213.patch
>
>
> The isIndexed() method is called for every value in a multi-valued property. This may
be quite expensive when there are a lot of values.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message