Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 52337 invoked from network); 15 Jul 2005 19:29:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Jul 2005 19:29:46 -0000 Received: (qmail 28756 invoked by uid 500); 15 Jul 2005 19:29:42 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 28727 invoked by uid 500); 15 Jul 2005 19:29:42 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 28714 invoked by uid 99); 15 Jul 2005 19:29:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2005 12:29:42 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lucenelist@danielnaber.de designates 80.67.18.14 as permitted sender) Received: from [80.67.18.14] (HELO smtprelay02.ispgateway.de) (80.67.18.14) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2005 12:29:38 -0700 Received: (qmail 29152 invoked from network); 15 Jul 2005 19:29:36 -0000 Received: from unknown (HELO p5496D499.dip.t-dialin.net) ([pbs]695637@[84.150.212.153]) (envelope-sender ) by smtprelay02.ispgateway.de (qmail-ldap-1.03) with RC4-MD5 encrypted SMTP for ; 15 Jul 2005 19:29:36 -0000 From: Daniel Naber To: java-dev@lucene.apache.org Subject: Re: getting Analyzer's stop words Date: Fri, 15 Jul 2005 21:31:53 +0200 User-Agent: KMail/1.8 References: <200507151350.07420.lucenelist@danielnaber.de> <37234F65-8356-4B27-893C-D71EC651A833@ehatchersolutions.com> In-Reply-To: <37234F65-8356-4B27-893C-D71EC651A833@ehatchersolutions.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200507152131.53341@danielnaber.de> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Friday 15 July 2005 14:33, Erik Hatcher wrote: > > This method returns the stop words in use. Subclasses that don't =C2=A0 > > use stop > > words at all will have to return an empty HashSet (or null?). > > > > An interesting question is how PerFieldAnalyzerWrapper could =C2=A0 > > implement this > > method. I think it should return the union of all its analyzers' =C2=A0 > > stop words. > > What use case do you have in mind for this feature? I need to do some complicated query-rewriting with an analyzer that doesn't= =20 change the words but uses the stop words from other analyzers. Well, I've=20 now locally introduced my own analyzer that extends Analyzer and that=20 looks like the right solution. Regards Daniel =2D-=20 http://www.danielnaber.de --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org