Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 85523 invoked from network); 13 Dec 2009 11:35:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Dec 2009 11:35:57 -0000 Received: (qmail 30258 invoked by uid 500); 13 Dec 2009 11:35:56 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 30174 invoked by uid 500); 13 Dec 2009 11:35:55 -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 30164 invoked by uid 99); 13 Dec 2009 11:35:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Dec 2009 11:35:55 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.97.132.66] (HELO homiemail-a17.g.dreamhost.com) (208.97.132.66) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Dec 2009 11:35:53 +0000 Received: from [10.0.0.77] (adsl-065-013-152-164.sip.rdu.bellsouth.net [65.13.152.164]) by homiemail-a17.g.dreamhost.com (Postfix) with ESMTPA id 451067A805C for ; Sun, 13 Dec 2009 03:35:32 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1077) Subject: Re: SOLR-1131: disconnect between fields created by poly fields From: Grant Ingersoll In-Reply-To: <87c998320912112108x4317db1as46807068a0610d5e@mail.gmail.com> Date: Sun, 13 Dec 2009 06:35:31 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <6204E9BC-18C7-435D-B3EC-3BB740ACC204@apache.org> References: <896ED647-AE0C-447F-B1DF-F0645D79D304@apache.org> <87c998320912112108x4317db1as46807068a0610d5e@mail.gmail.com> To: solr-dev@lucene.apache.org X-Mailer: Apple Mail (2.1077) On Dec 12, 2009, at 12:08 AM, Lance Norskog wrote: > There are already components (ExtractingRequestHandler, Deduplication) > that secretly add fields which violate the schema. Personally I would > nuke this ability; I've had major problems with junk in the indexed > data and discovering secret fields would have made my head explode > that much louder. Just as with any dynamic field, the Luke and the LukeRequestHandler are = your friends. Which reminds me, I need to mod the patch to have Luke = spit out that it is a poly field. I think the thing that is tricky here, is we are actually introducing a = new layer of processing on top of Lucene that allows for more complex = modeling by doing away with the notion that there is a 1-1 relationship = between a FieldType and a Field. Some people want explicit control, = while others won't care about the details. >=20 > On Fri, Dec 11, 2009 at 7:01 AM, Yonik Seeley > wrote: >> On Fri, Dec 11, 2009 at 9:53 AM, Mattmann, Chris A (388J) >> wrote: >>> 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 can >>> map to _many_ dynamic fields, which is where the drift occurs. >>=20 >> I'm not sure if we're using the exact same terminology, but it's well >> defined how many dynamic fields would be created by the basic point >> class (exactly one) *if* we decide to go that route and use that >> option. Can you give an examples of what you mean? Is your = objection >> to this point class registering a single dynamic field, or are you >> talking about a hypothetical case? >>=20 >> -Yonik >> http://www.lucidimagination.com >>=20 >=20 >=20 >=20 > --=20 > Lance Norskog > goksron@gmail.com