From java-user-return-23139-apmail-lucene-java-user-archive=lucene.apache.org@lucene.apache.org Mon Sep 04 02:56:46 2006 Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 91415 invoked from network); 4 Sep 2006 02:56:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Sep 2006 02:56:43 -0000 Received: (qmail 86745 invoked by uid 500); 4 Sep 2006 02:56:38 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 86715 invoked by uid 500); 4 Sep 2006 02:56:38 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 86704 invoked by uid 99); 4 Sep 2006 02:56:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Sep 2006 19:56:38 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of khoon.ee.gan@gmail.com designates 66.249.82.239 as permitted sender) Received: from [66.249.82.239] (HELO wx-out-0506.google.com) (66.249.82.239) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Sep 2006 19:56:37 -0700 Received: by wx-out-0506.google.com with SMTP id s15so1759334wxc for ; Sun, 03 Sep 2006 19:56:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=pbUAXBk4IgOLDYNSlBNR7w6pZg1eV9Obz/bUZPLYTsI1052TgM87ZA139dd22rPeRl0+bA0T2N9IcYYd8NQX+K3BJn+maEuH8O55afcH8bsQmHCrQN8kcojiNn6MN3G4lKCg4hzJ86fD/Va1rY9Rf48gwncE/e4FdCxtbrEyoB4= Received: by 10.70.78.4 with SMTP id a4mr6999673wxb; Sun, 03 Sep 2006 19:56:16 -0700 (PDT) Received: by 10.70.48.5 with HTTP; Sun, 3 Sep 2006 19:56:16 -0700 (PDT) Message-ID: <85c493340609031956r6908fae0t4cac47707ea26011@mail.gmail.com> Date: Mon, 4 Sep 2006 10:56:16 +0800 From: KEGan To: java-user@lucene.apache.org Subject: Re: How to combine multiple fields to a single field for indexing In-Reply-To: <5F233107-D60F-49D1-BDD9-EA4901D9F955@ehatchersolutions.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_97115_8150687.1157338576141" References: <44EC75E0.4050301@wolfram.com> <85c493340608231842p67536de4gf760cc276436ab58@mail.gmail.com> <733777220608240005i1fc4b3f7qadb1c47529c5774f@mail.gmail.com> <85c493340608260211r71b7d089p465b31dd51d79f25@mail.gmail.com> <5F233107-D60F-49D1-BDD9-EA4901D9F955@ehatchersolutions.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_97115_8150687.1157338576141 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks. I think I grasp the concept now :) On 8/27/06, Erik Hatcher wrote: > > > On Aug 26, 2006, at 5:11 AM, KEGan wrote: > > Erik, > > > > "Given the position increment gap between instances of same-named > > fields that is now part of Lucene, I recommend using multiple field > > instances instead." > > > > Did you mean ... recommend "NOT" using multiple field ? > > I said what I meant accurately. Comparing building a single > aggregate search field either by concatenating text into a single > string and a single field, say "contents" instance, versus multiple > "contents" instances that could get separated by a position increment > gap, I recommend the second approach. > > But... > > > If we want to do query like "name:John" or boasting of Fields ... > > then we > > have to use multiple field instances, right ? > > of course. > > Erik > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > ------=_Part_97115_8150687.1157338576141--