You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (Commented) (JIRA)" <ji...@apache.org> on 2012/02/07 11:15:00 UTC
[jira] [Commented] (JCR-3213) Speed up NodeIndexer.isIndexed()
check
[ 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