[ https://issues.apache.org/jira/browse/JCR-3213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Parvulescu updated JCR-3213: --------------------------------- Attachment: JCR-3213.patch The proposed patch moves up the isIndexed call from the #addValue method to #createDoc. Before, it was being called for each value of a property, so for a MVP multiple times, which is suboptimal because the method only relates to the property's name, not its value to determine if it should be indexed or not. > 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 > 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