Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 88565 invoked from network); 5 Apr 2011 13:24:47 -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:47 -0000 Received: (qmail 44583 invoked by uid 500); 5 Apr 2011 13:24:47 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 44547 invoked by uid 500); 5 Apr 2011 13:24:47 -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 44540 invoked by uid 99); 5 Apr 2011 13:24:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Apr 2011 13:24:47 +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:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D97E193927 for ; Tue, 5 Apr 2011 13:24:05 +0000 (UTC) Date: Tue, 5 Apr 2011 13:24:05 +0000 (UTC) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1886133673.34876.1302009845887.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1165932745.3916.1300204409575.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (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 [ https://issues.apache.org/jira/browse/JCR-2916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting resolved JCR-2916. -------------------------------- Resolution: Fixed Fix Version/s: 2.3.0 Assignee: Jukka Zitting 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