Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 16356 invoked from network); 11 Dec 2009 14:54:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Dec 2009 14:54:24 -0000 Received: (qmail 86191 invoked by uid 500); 11 Dec 2009 14:54:23 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 86106 invoked by uid 500); 11 Dec 2009 14:54:23 -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 86096 invoked by uid 99); 11 Dec 2009 14:54:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2009 14:54:23 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [128.149.139.105] (HELO mail.jpl.nasa.gov) (128.149.139.105) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Dec 2009 14:54:12 +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 nBBErmRp003733 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified FAIL); Fri, 11 Dec 2009 06:53:49 -0800 Received: from ALTPHYEMBEVSP20.RES.AD.JPL ([128.149.137.82]) by ALTVIREHTSTAP02.RES.AD.JPL ([128.149.137.73]) with mapi; Fri, 11 Dec 2009 06:53:48 -0800 From: "Mattmann, Chris A (388J)" To: "solr-dev@lucene.apache.org" CC: "yonik@lucidimagination.com" Date: Fri, 11 Dec 2009 06:53:45 -0800 Subject: Re: SOLR-1131: disconnect between fields created by poly fields Thread-Topic: SOLR-1131: disconnect between fields created by poly fields Thread-Index: Acp6UOrNY/fuFP69Q2+jNWPJcitzvAAINHzh Message-ID: In-Reply-To: <896ED647-AE0C-447F-B1DF-F0645D79D304@apache.org> 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 X-Virus-Checked: Checked by ClamAV on apache.org Hi Grant: > By declaring the poly field, you are declaring the dynamic field. I don'= t see > why this leads to drift. Sure, it is an abstraction and their are Lucene > fields that will be created under the hood, but that is one of the primar= y > features of Solr, it hides all that mess. Actually if it was the case that poly field mapped to a single dynamic field, then I would agree with you, but as is the discussion, poly field ca= n map to _many_ dynamic fields, which is where the drift occurs. Also, the drift does not occur in the sense that there are more Lucene fields created (fields of course, are Lucene concepts, which true, SOLR should serve as an abstraction to) -- it's in the sense that there are more "dynamic fields" (which are of course, a SOLR concept, and which I'm not sure that SOLR should serve as an abstraction to, and if it does, then schema.xml can be out of sync). So, in other words, with the current thinking, you can have dynamic fields that are created by a poly field that have could have no corresponding entr= y in schema.xml. That's my point. I think we should enforce that there be an entry in schema.xml to prevent this drift. 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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++