Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 90908 invoked from network); 18 Sep 2008 15:45:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Sep 2008 15:45:57 -0000 Received: (qmail 25101 invoked by uid 500); 18 Sep 2008 15:45:46 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 25065 invoked by uid 500); 18 Sep 2008 15:45:46 -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 25054 invoked by uid 99); 18 Sep 2008 15:45:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2008 08:45:46 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.92.27] (HELO qw-out-2122.google.com) (74.125.92.27) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2008 15:44:45 +0000 Received: by qw-out-2122.google.com with SMTP id 5so340570qwi.53 for ; Thu, 18 Sep 2008 08:45:06 -0700 (PDT) Received: by 10.214.9.8 with SMTP id 8mr4074146qai.51.1221752706628; Thu, 18 Sep 2008 08:45:06 -0700 (PDT) Received: from ?10.17.4.4? ( [96.237.252.30]) by mx.google.com with ESMTPS id 6sm14560407qwd.4.2008.09.18.08.45.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 18 Sep 2008 08:45:05 -0700 (PDT) Message-Id: From: Michael McCandless To: java-user@lucene.apache.org In-Reply-To: <19555644.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v926) Subject: Re: WildCardQuery and TooManyClauses Date: Thu, 18 Sep 2008 11:45:04 -0400 References: <19555644.post@talk.nabble.com> X-Mailer: Apple Mail (2.926) X-Virus-Checked: Checked by ClamAV on apache.org It's only with the trunk version of Lucene that QueryParser calls getWildcardQuery on parsing a wildcard string from the user's query. Mike Konstantyn Smirnov wrote: > > > > Beard, Brian wrote: >> >> 1) Extend QueryParser to override the getWildcardQuery method. >> > > Kinda late :), but I still have another question: > > Who calls that getWildcardQuery() method? > > I subclassed the QueryParser, but that method does never get > invoked, even > if the query contains *. > > Shall I override some other methods? Or shall I call the method > directly? > > Thanx > -- > View this message in context: http://www.nabble.com/WildCardQuery-and-TooManyClauses-tp16610177p19555644.html > Sent from the Lucene - Java Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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