Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 88880 invoked from network); 5 Apr 2011 13:24:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Apr 2011 13:24:50 -0000 Received: (qmail 45137 invoked by uid 500); 5 Apr 2011 13:24:49 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 45085 invoked by uid 500); 5 Apr 2011 13:24:49 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 45073 invoked by uid 99); 5 Apr 2011 13:24:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 13:24:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 13:24:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 510BA9392D for ; Tue, 5 Apr 2011 13:24:06 +0000 (UTC) Date: Tue, 5 Apr 2011 13:24:06 +0000 (UTC) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <760805668.34881.1302009846328.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1165932745.3916.1300204409575.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Issue Comment Edited] (JCR-2916) Avoid String.intern() when indexing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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