Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 42295 invoked from network); 29 Nov 2009 01:33:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Nov 2009 01:33:55 -0000 Received: (qmail 64543 invoked by uid 500); 29 Nov 2009 01:33:54 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 64475 invoked by uid 500); 29 Nov 2009 01:33:54 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 64465 invoked by uid 99); 29 Nov 2009 01:33:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Nov 2009 01:33:54 +0000 X-ASF-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [128.149.139.106] (HELO mail.jpl.nasa.gov) (128.149.139.106) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Nov 2009 01:33:50 +0000 Received: from mail.jpl.nasa.gov (altvirehtstap02.jpl.nasa.gov [128.149.137.73]) by smtp.jpl.nasa.gov (Switch-3.4.1/Switch-3.4.1) with ESMTP id nAT1XS0Q001709 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified FAIL); Sat, 28 Nov 2009 17:33:29 -0800 Received: from ALTPHYEMBEVSP20.RES.AD.JPL ([128.149.137.82]) by ALTVIREHTSTAP02.RES.AD.JPL ([128.149.137.73]) with mapi; Sat, 28 Nov 2009 17:33:29 -0800 From: "Mattmann, Chris A (388J)" To: "solr-dev@lucene.apache.org" , "yonik@lucidimagination.com" Date: Sat, 28 Nov 2009 17:33:26 -0800 Subject: Re: SOLR-1131 - Multiple Fields per Field Type Thread-Topic: SOLR-1131 - Multiple Fields per Field Type Thread-Index: AcpwjCQPEOXwRZMmRIKbRzdgBNdbwQAB84vF Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Source-IP: altvirehtstap02.jpl.nasa.gov [128.149.137.73] X-Source-Sender: chris.a.mattmann@jpl.nasa.gov X-AUTH: Authorized Hey Hoss,=20 On 11/28/09 4:37 PM, "Chris Hostetter" wrote: > One thing that concerns me is potential field name collision -- where one > of these new multifield producing FieldTypes might want to creat a name > that happens to collide with a field the user has already declared. Since FieldTypes are provided an instance of o.a.solr.schema.IndexScehma, couldn't these special MultiFieldTypes just call #getFieldOrNull(fieldName) to find out if an internal field they want to name is available in the schema namespace? Cheers, Chris ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Chris Mattmann, Ph.D. Senior Computer Scientist NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA Office: 171-266B, Mailstop: 171-246 Email: Chris.Mattmann@jpl.nasa.gov WWW: http://sunset.usc.edu/~mattmann/ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Adjunct Assistant Professor, Computer Science Department University of Southern California, Los Angeles, CA 90089 USA ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++