Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 44178 invoked from network); 25 Jul 2005 18:54:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Jul 2005 18:54:20 -0000 Received: (qmail 96413 invoked by uid 500); 25 Jul 2005 18:54:12 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 96289 invoked by uid 500); 25 Jul 2005 18:54:11 -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 96262 invoked by uid 99); 25 Jul 2005 18:54:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2005 11:54:11 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.201.77] (HELO web31115.mail.mud.yahoo.com) (68.142.201.77) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 25 Jul 2005 11:54:03 -0700 Received: (qmail 62887 invoked by uid 60001); 25 Jul 2005 18:54:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=yNsVmpGuV1G+xR7lc06RYUcvGukghgKoa8iKmRXGJDBFYJWMksqSlixKpX7wLpW8heT4C1J7Covk+thu0MGnS2k7vzBiIGTkl8HyVYYPLToFCNeZkbhTJt5LO+Nsci7ZNK5I8lxGY2Iqx/pd3mO6bOcQ1leDf66lnoEntbylcRs= ; Message-ID: <20050725185400.62835.qmail@web31115.mail.mud.yahoo.com> Received: from [216.194.55.187] by web31115.mail.mud.yahoo.com via HTTP; Mon, 25 Jul 2005 11:54:00 PDT Date: Mon, 25 Jul 2005 11:54:00 -0700 (PDT) From: Otis Gospodnetic Subject: Re: Index with more than one analyzer? To: java-user@lucene.apache.org In-Reply-To: <1393645.1122314578546.JavaMail.root@wamui-thinleaf.atl.sa.earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N If you go with one index and distinct fields for the 3 variations you mentioned, then you can perhaps make use of PerFieldAnalyzerWrapper. Otis --- Andrew Boyd wrote: > Hi All, > When I first started my project I was creating 3 indexes. > Standard, Synonym and SoundsLike. > Now that the QueryParser has the ability to put multiple tokens in > one position I no longer have to inject the synonyms at index > creation time. So I really don't have to have a seperate index for > Synonyms I can just point to my standard index and inject the > synonyms into the query. > > That should make adminstration easier. Along that train of thought > it would be nice if I could have only one index. That brings me to > my question. When constructing an index only one anlyzer is allowed. > Do you think it would be better to build 2 indexes and then merge > them or somehow merge the standard tokens with the soundslike tokens > at index creating time? > > Thanks, > > Andrew > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-user-help@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org