Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 18265 invoked from network); 26 Nov 2009 01:24:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Nov 2009 01:24:32 -0000 Received: (qmail 71996 invoked by uid 500); 26 Nov 2009 01:24:31 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 71917 invoked by uid 500); 26 Nov 2009 01:24:31 -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 71907 invoked by uid 99); 26 Nov 2009 01:24:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2009 01:24:31 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.69.42.181] (HELO radix.cryptio.net) (208.69.42.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2009 01:24:23 +0000 Received: by radix.cryptio.net (Postfix, from userid 1007) id B90D171C504; Wed, 25 Nov 2009 17:24:02 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by radix.cryptio.net (Postfix) with ESMTP id ABF9B71C22F for ; Wed, 25 Nov 2009 17:24:02 -0800 (PST) Date: Wed, 25 Nov 2009 17:24:02 -0800 (PST) From: Chris Hostetter To: solr-dev@lucene.apache.org Subject: Re: SOLR-1131 - Multiple Fields per Field Type In-Reply-To: <850142FF-9599-4AE7-8BE8-BA8A66686C1E@apache.org> Message-ID: References: <850142FF-9599-4AE7-8BE8-BA8A66686C1E@apache.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org I'm having a hard time wrapping my head arround this entire concept ... i know part of my problem is that your example use case seems somewhat nonsensical... : As a simple proof of concept, imagine that I define a new FieldType : called PlusMinusIntFieldType that extends IntField. This FieldType : takes in an int value and outputs two Fields: one with the original : value and one with the negative of the value. ... : OK, on the search side is where it gets tricky. The whole point of this : exercise is that the details are hidden from the user in the generic : case. Thus, a query of plusMinus:5 should automatically expand to : (plusMinus__0:5 OR plusMinus__1:-5). Of course, an expert user should ...nothing could match plusMinus__0:5 that didn't also match plusMinus__1:-5, so i don't really understand what the point of using the field expansion for a use case like this would be ... and that's making it hard for me to try and understand how this sort of system could/should/would be used at query time. perhaps a more realistic example would be helpful? ...or even some differnet simple and contrived examples that demonstrate how this could be usefull in a way that isn't possible with a single field. ? -Hoss