Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5594E755E for ; Mon, 29 Aug 2011 19:50:04 +0000 (UTC) Received: (qmail 80382 invoked by uid 500); 29 Aug 2011 19:50:02 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 80300 invoked by uid 500); 29 Aug 2011 19:50:02 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 80291 invoked by uid 99); 29 Aug 2011 19:50:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2011 19:50:02 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Mon, 29 Aug 2011 19:49:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 76436D55BF for ; Mon, 29 Aug 2011 19:49:38 +0000 (UTC) Date: Mon, 29 Aug 2011 19:49:38 +0000 (UTC) From: "Michael McCandless (JIRA)" To: dev@lucene.apache.org Message-ID: <855221253.4693.1314647378480.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <418412610.4288.1314643717770.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-2735) cache LuceneFieldType in SchemaField 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/SOLR-2735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13093141#comment-13093141 ] Michael McCandless commented on SOLR-2735: ------------------------------------------ Or maybe Solr's FT could extend Lucene's? Maybe some of the properties tracked by Solr's FT could move into Lucene's FT... > cache LuceneFieldType in SchemaField > ------------------------------------ > > Key: SOLR-2735 > URL: https://issues.apache.org/jira/browse/SOLR-2735 > Project: Solr > Issue Type: Improvement > Reporter: Yonik Seeley > Priority: Minor > > Lucene added a reusable FieldType (which I'll call LFT since Solr's FieldType has been around since inception). Ironically this has led to Solr going backwards and creating more objects since FieldType.createField() now creates the LFT every time. We should create it once and keep it in SchemaField, or perhaps even have SchemaField implement LFT. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org