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

Jukka Zitting edited comment on JCR-2916 at 4/5/11 1:23 PM:
------------------------------------------------------------

Patches committed in revision 1089030. Thanks!

      was (Author: jukkaz):
    Patch committed in revision 1089030. Thanks!
  
> Avoid String.intern() when indexing
> -----------------------------------
>
>                 Key: JCR-2916
>                 URL: https://issues.apache.org/jira/browse/JCR-2916
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>            Reporter: Marcel Reutegger
>            Assignee: Jukka Zitting
>            Priority: Minor
>             Fix For: 2.3.0
>
>         Attachments: JCR-2916-InternalValue-javadoc.patch, 
> JCR-2916-fields-v2.patch, JCR-2916-fields.patch
>
>
> Lucene 3.0 now allows to create Fields with a String name that is already 
> interned. We should use the new constructor in NodeIndexer to avoid 
> unnecessary String.intern() calls. The field names Jackrabbit uses are 
> available in FieldNames and already interned.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to